# Empty variable after switching timeline or MC

**URL:** <https://forum.kirupa.com/t/empty-variable-after-switching-timeline-or-mc/323218>\
**Category:** flash\
**Created:** [June 21, 2011, 4:23pm UTC](https://forum.kirupa.com/t/empty-variable-after-switching-timeline-or-mc/323218 "2011-06-21T16:23:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flasher333](https://avatars.discourse-cdn.com/v4/letter/f/c67d28/32.png) [@flasher333](https://forum.kirupa.com/u/flasher333)\
**Post date:** [June 21, 2011, 4:23pm UTC](https://forum.kirupa.com/t/empty-variable-after-switching-timeline-or-mc/323218/1 "2011-06-21T16:23:25Z")

</div>

Hi,

I’m having difficulty accessing a variable value within nested MCs.

On Scene 1 in the addFullPanel function, the variable panelNames exists.  
However, I’d like to use this variable value within the MC FullProjectPanel in the switch function in order to load a corresponding xml file.

As it stands the variable is empty within the FullProjectPanel function.

Hope this makes sense.

Cheers
