Copy link to clipboard
Copied
I am trying load a png image from a url for an AIR app that is tobe deployed in Ipad. I am using air 3.6 Below is a simplified version of my code:-
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, onIconLoaded);
loader.contentLoaderInfo.addEventListener(ErrorEvent.ERROR, function(event:ErrorEvent😞void {
trace('security sandbox error ignored');
});
var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
trace("going for image load");
loader.load ( new URLRequest("some url"), context );
private function onIconLoaded(event:flash.events.Event😞void
{
trace("image loaded");
var info:LoaderInfo = event.target as LoaderInfo;
addChild(info.content);
}
This works perfectly fine inside adobe flex builder (tried with 4.6 & 4.7). It also works fine in ipad when done fast packaging. But after doing 'export release build' the whole app is getting hanged whenever I try to download the image using the above code snippet.
Is it related to the below problem:-
http://forums.adobe.com/message/4656130
If yes, has it been resolved?
Copy link to clipboard
Copied
Can anyone provide me any clue what is going wrong?
Copy link to clipboard
Copied
Could you please open a new bug report on this over at bugbase.adobe.com? When adding the bug, please include your sample code or an application so we can quickly test this out internally. If you'd like to keep this private, feel free to email the attachment to me directly (ccampbel@adobe.com).
I've forwarded this along to the iOS team so someone should take a look soon. Once you've added, please post back with the URL so that others effected can add their comments and votes.
Thanks,
Chris
Copy link to clipboard
Copied
Thanks Chris for replying.
I have created the bug at bugbase.adobe.com. BUG ID - 3519108.
Copy link to clipboard
Copied
Thank you