TARGET:
I am trying to allow external SWF files that interact with each other that are downloaded locally from the device. I need to have access to vars, functions and objects. I got this while downloading swf content from the internet here: as3 downloaded from outside swf from the network to control externally loaded swf from the network
BUT WHEN I GIVE THE USER THE OPTION FOR DOWNLOADING FROM THE DEVICE OR FROM ONLINE ... SWF device files cannot communicate with each other. In particular, the loaded swf cannot receive information from its parent.
Below is the code that works when downloading via the Internet:
var InsideConent:Object = this.parent.parent as Object;
var ItWorksNow:Sprite = MovieClip(InsideConent.TWO.content).ChildInTWO;
The device does not like this code:
Security.allowDomain("*");
. , , APP.
:
SecurityError: # 3207: - . flash.system:: $/allowDomain() at Products_fla:: MainTimeline/frame1()
.
:
-, , AIR FOR ANDROID, ? -