iOS won't allow any code in your loaded swf to execute.
so, one solution is to execute the stop from the loading (main) swf:
var loader:Loader=new Loader();
Hi - Many thanks for this. I will try this now.
Can you please let me know if you have a min this page (seems new) on Adobe and says you can load in action scripts:
I am stuck with the bit saying *The minor change is that when loading the SWF, the application domain should be the same as that of the main SWF i.e. ApplicationDomain.currentDomain.
var _lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
Do I need to change "ApplicationDomain.currentDomain" (and what with)? or will this still not do what I am trying to do?
1 person found this helpful
no, leave that code just the way it is.
if you're using an air version that allows code in external swfs, you should be good to go.
unfortunately, i don't see which air versions allow external swf code.