THE GOAL:
I am trying to allow externally loaded swf files communicate with each other that are locally loaded from the device. I need to be able to have access to vars and functions and objects. I have accheived this while loading swf content from the web here: as3 externally loaded swf from network to control externally loaded swf from network
BUT WHEN I GIVE THE USER THE OPTION TO LOAD FROM DEVICE OR FROM ONLINE... The device swf files can't communicate with each other. Specifically the loaded swf can not get info from its parent.
Below is the code that works when loading from online:
var InsideConent:Object = this.parent.parent as Object; //// GIVES ACCESS TO "Content.swf"
var ItWorksNow:Sprite = MovieClip(InsideConent.TWO.content).ChildInTWO; ///
The device doesn't like this code:
Security.allowDomain("*");
But when run online it works fine. Below is the error I get when I run it locally loaded from the APP package.
THE ERROR:
SecurityError: Error #3207: Application-sandbox content cannot access this feature. at flash.system::Security$/allowDomain() at Products_fla::MainTimeline/frame1() Cannot display source code at this location.
THE QUESTION: Is there anything I can do to make allow security domain to work locally on an AIR FOR ANDROID device so I don't have to change my code? - thanks
Loaderto work when it's compiled in IDEAS on android. Global FlashPlayer Security Settings Panel redirect me to mobile flash plugin settings allowing only to set storage and p2p. - www0z0kLoaderContextto help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/… ? - www0z0k