• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Ipad App using adobe air hangs completely on trying to load an image in release build

New Here ,
Mar 11, 2013 Mar 11, 2013

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?


TOPICS
Performance issues

Views

866

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 12, 2013 Mar 12, 2013

Copy link to clipboard

Copied

Can anyone provide me any clue what is going wrong?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 12, 2013 Mar 12, 2013

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 13, 2013 Mar 13, 2013

Copy link to clipboard

Copied

Thanks Chris for replying.

I have created the bug at bugbase.adobe.com. BUG ID - 3519108.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 13, 2013 Mar 13, 2013

Copy link to clipboard

Copied

LATEST

Thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines