# Passing variables between seperate swfs?

**URL:** <https://forum.kirupa.com/t/passing-variables-between-seperate-swfs/6803>\
**Category:** Uncategorized\
**Created:** [October 16, 2002, 9:14pm UTC](https://forum.kirupa.com/t/passing-variables-between-seperate-swfs/6803 "2002-10-16T21:14:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![trax](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@trax](https://forum.kirupa.com/u/trax)\
**Post date:** [October 16, 2002, 9:14pm UTC](https://forum.kirupa.com/t/passing-variables-between-seperate-swfs/6803/1 "2002-10-16T21:14:30Z")

</div>

I am having trouble passing information from a loaded movie sitting on level1 back to the main movie. Any clues please.

Thanks  
ps peace and goodwill to all peoples.🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 17, 2002, 8:44am UTC](https://forum.kirupa.com/t/passing-variables-between-seperate-swfs/6803/2 "2002-10-17T08:44:45Z")

</div>

Please specify which version of Flash you have. The techniques are quite different. And please [vote for the contest](http://www.kirupaforum.com/showthread.php?s=&threadid=7450) 🙂

pom :cowboy:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 17, 2002, 8:49am UTC](https://forum.kirupa.com/t/passing-variables-between-seperate-swfs/6803/3 "2002-10-17T08:49:17Z")

</div>

Oups sorry, I thought you were talking about 2 swf on the same page.

Just put \_level0 in front of the variables to talk to the main movie from the loaded movie.

pom 😏

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 20, 2003, 4:25pm UTC](https://forum.kirupa.com/t/passing-variables-between-seperate-swfs/6803/4 "2003-06-20T16:25:04Z")

</div>

Put some vars in \_root (=\_level0 :)) and then use if statements to change or check for current value. Maybe [this thread](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=22412) can help (scroll down a bit)
