I have a movie A.swf with nothing but a preloader, that loads a movie B.swf.
How do I pass variables to movie B.swf from movie A.swf.
I want to pass some flashvars, but for a start I would just like to see an example of passing some simple info to B.swf.
Lets say I have a variable called:
that I want movie B.swf to use for loading a xmlfile.
Below is the loading movie A.swf-snippet with most of the code for the preloader erased.
var l:Loader = new Loader();
var perc:Number = e.bytesLoaded / e.bytesTotal;
percent.text = Math.ceil(perc*100).toString();
percent = null;