Loading SWF's in AIR for iOS
Hi,
I am working on a project in AIR for iOS. It's great that we as flash developers are now able to compile our actionscript code for iOS.
The project i'm working on is divided in different SWF-files. There is one master SWF file that loads the others when needed.
Now i can't get loading of a swf file actually working. The only thing i see is the background of the child being displayed, but then the program freezes and no actionscript code of the child gets exectuted.
The children swf's are loaded with a simple Loader:
var loader:Loader = new Loader();
childLayer.addChild(loader);
var url:URLRequest = new URLRequest("child.swf");
loader.load(url);
When i publish the master swf file i include the children swf files in the package.
Is it actually possible to use multiple swf's in your iOS projects?
And what are the limitations for this?
Thanks.
greeting,
Bert
