# Passing Variable from Root Timeline into MC

**URL:** https://forum.kirupa.com/t/passing-variable-from-root-timeline-into-mc/294524
**Category:** flash
**Created:** [August 15, 2009, 3:44pm UTC](https://forum.kirupa.com/t/passing-variable-from-root-timeline-into-mc/294524 "2009-08-15T15:44:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jxmckenzie](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jxmckenzie](https://forum.kirupa.com/u/jxmckenzie)
#### Post date: [August 15, 2009, 3:44pm UTC](https://forum.kirupa.com/t/passing-variable-from-root-timeline-into-mc/294524/1 "2009-08-15T15:44:55Z")

</div>

I’m guessing this is pretty simple, I just can’t find the solution through my google searches.

Bascially I created a variable and gave it a value in the first frame of my main timeline.

Now I just want to pass that variable into a MovieClip. When I trace the value of the variable within the movieClip I get _undefined._

Is there something else I have to do to make it recognize the root timeline’s variable?

Thanks!
