Flash passing variable question

This may seem like a stupid question but I am having passing a variable from one swf to another. I have my main swf called “main.swf” calling “technology.swf.” Once “technology.swf” opens I need it to set a variable that “main.swf” will see. Usually the way I would handle this is with a global variable but it seems like it only works if “main.swf” sets the variable and “technology.swf” but it won’t work the other way around. I used "loadMovieNum(“technology.swf”, 1) to call the second movie in case that helps. Any help would be greatly appreciated.

Try using _parent to pass the details up to the main.swf. This should pass the variable from technology.swf up to main.swf.

eg in technology.swf

var playMovie:Boolean = true;



test by running a trace in Main.swf at the appropriate point. Obviously, the trace needs to run after the technology.swf has loaded.

I’m making huge assumptions that the variable from technology.swf is on the main timline.

Hope this helps,