Hello,
Sorry if I misunderstood the other posts in this forum section, but is it possible to use any of the playerIO services on an android device when deployed with AIR?
by WindieGames » March 25th, 2011, 5:07 am
by Benjaminsen » March 25th, 2011, 8:37 am
by wbsaputra » September 9th, 2011, 11:16 am
by GrafixGames » September 25th, 2011, 7:35 pm
by Chris018 » September 27th, 2011, 3:18 am
private static var lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
loader.addEventListener(Event.COMPLETE, function(e:Event):void{
wrapper.contentLoaderInfo.addEventListener(Event.COMPLETE, emptyQueue);
wrapper.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, handleLoadError);
wrapper.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, handleLoadError);
lc.allowCodeImport = true;
wrapper.loadBytes(loader.data,lc);
wo.wrapper = wrapper
})
by GrafixGames » September 27th, 2011, 4:08 am
by UnknownGuardian » November 30th, 2011, 5:41 am
by Turrican » February 14th, 2012, 3:14 am
by Khai » January 19th, 2013, 6:17 am
private static var lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
&
lc.allowCodeImport = true;
by Benjaminsen » January 20th, 2013, 7:47 pm
Khai wrote:I'm developing an app on AIR for android devices.
I tried to add
- Code: Select all
private static var lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
&
lc.allowCodeImport = true;
but it didn't work, it still returned me the same error Error #3226: Cannot import a SWF file when LoaderContext.allowCodeImport is false.
Any updates on this?
I'm still hesitating on using which server so I don't wanna pay upfront just to test the server.
by Maras » March 18th, 2013, 6:42 pm