# Loading an external .swf into a movieclip and exchanging variables between the two

**URL:** <https://forum.kirupa.com/t/loading-an-external-swf-into-a-movieclip-and-exchanging-variables-between-the-two/187266>\
**Category:** Uncategorized\
**Created:** [April 27, 2006, 10:50pm UTC](https://forum.kirupa.com/t/loading-an-external-swf-into-a-movieclip-and-exchanging-variables-between-the-two/187266 "2006-04-27T22:50:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kutyadog](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@kutyadog](https://forum.kirupa.com/u/kutyadog)\
**Post date:** [April 27, 2006, 10:50pm UTC](https://forum.kirupa.com/t/loading-an-external-swf-into-a-movieclip-and-exchanging-variables-between-the-two/187266/1 "2006-04-27T22:50:34Z")

</div>

Hello,  
I have searched for this and I seem to be having troubles finding the answer.

Ok, lets say i have a **Main.swf**

within the \_root of **Main.swf** , I load another external flash file called **Timer.swf** into a MovieClip titled ‘container’

Now, I lets say i want to share variables between the two. How would I do this? [SIZE=1](Like lets say Main.swf wanted to know the value for Timer.swf’s variable called xTime and Timer.swf wanted to know the value for Main.swf’s variable xtimezone )[/SIZE]

Any help, GREATLY appreciated. 🙂

kutyadog
