problem in loading secondary swf
Hi,
I am trying load a font as swf for IOS application.i tried load to it from both application directory and application storage directory.but it always throws the following error.
Fast debuging mode everything works fine.
Air Sdk 3.8
Flash Builder 4.7
swf version 20
Error 3747: Multiple application domains are not supported on the operating system.
Code i used to load the swf.
var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain,null);
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoadComplete);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
var strPath:String = "assets/fonts/font.swf"
var urlReq: URLRequest = new URLRequest();
urlReq = strPath;
loader.load(urlReq, context);
please correct me if i am doing any thing wrong in loading swf with as3 code.
Regards,
Saravanan
