# Send vars from swf to swf

**URL:** https://forum.kirupa.com/t/send-vars-from-swf-to-swf/187779
**Category:** programming
**Created:** [May 2, 2006, 8:35am UTC](https://forum.kirupa.com/t/send-vars-from-swf-to-swf/187779 "2006-05-02T08:35:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Deranged](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/deranged/32/2419_2.png) [@Deranged](https://forum.kirupa.com/u/Deranged)
#### Post date: [May 2, 2006, 8:35am UTC](https://forum.kirupa.com/t/send-vars-from-swf-to-swf/187779/1 "2006-05-02T08:35:00Z")

</div>

I am experimenting with a game with multiple levels.  
I want to know if I can have a main.swf file with a few vars like the player name and score etc then load in for example, level1.swf and back to the main.swf then on to level2.swf and pass the vars with them.

I have got the new movie to load in but I can’t figure out a way to make the vars pass. I am in need of some advice.

on (release) {  
loadMovieNum(“file:/dir/level1.swf”, 0, “POST”);  
}
