Hi,
I have a main swf in as3 and I load another swf in as3 in it. Now I want the main swf to pass variable to loaded swf. Which is not happening ? pls. help!
Regards, Sagar
Hi,
I have a main swf in as3 and I load another swf in as3 in it. Now I want the main swf to pass variable to loaded swf. Which is not happening ? pls. help!
Regards, Sagar
Take a look at the LocalConnection class. :-)
-EDIT-
Apologies. I misread your question. I didn't read that the first swf would load in the second swf.
This can be done by
Passing parameters to a loaded SWF application
by changing the load parameters and using application.loaderInfo
to get the variable.
loader.load("SWFLoaderApp.swf?test=hi");