Multiple Application Domain Error with Preloader
Hi all,
I'm attempting to upgrade to Air 3.6. My app runs as a swf on the web and also meant to be packaged as a "slow" build (not interpreter) for iOS since I need the performance of Starling. Since it's a fat app, so thus it has a preloader for the web, which works perfectly. However when I try to start the app in ios-debug on my iPad, I get:
[Fault] exception, information=Error: Error #3747: Multiple application domains are not supported on this operating system.
mPreloader = new PreloaderSwfEmbed(); mPreloaderLoader = Loader(mPreloader.getChildAt(0)); // need to wait until the swf loads before grabbing all the information from it mPreloaderLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, EmbeddedPreloaderLoadCompleteCB);
On the first line of my code snippet here. How can I insert permission regarding multiple application domains for embedded swfs?
Thanks!
ZS
