• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
Locked
0

AIR19/20 crashing in AOT mode with Loader.load()

Community Beginner ,
Mar 02, 2016 Mar 02, 2016

Copy link to clipboard

Copied

Hi,

In my iOS AIR app, Iā€™m loading a local SWF file following the example provided in the Loader class documentation:

var loader:Loader = new Loader();

var url:URLRequest = new URLRequest("swfs/SecondarySwf.swf");

var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);

loader.load(url, loaderContext);

This code worked very well until I tried to update my AIR SDK.

Now the app is working fine with AIR 19 and 20 on Interpreter mode, but is crashing in AOT mode for both of the SDK. AOT mode is still working fine if I go back to AIR 18. The crash happens when Iā€™m calling the load() function.

Do you have any idea about what is going wrong? Thanks a lot.

TOPICS
Performance issues

Views

1.9K

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 02, 2016 Mar 02, 2016

Copy link to clipboard

Copied

Hi, elsaprietoā€Œ

Please share us the dropbox link of the assets and AS code to reproduce this.

Also, kindly let us know the version of iOS you are facing this issue.

-Roshan

Air Adobe

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
Community Beginner ,
Mar 03, 2016 Mar 03, 2016

Copy link to clipboard

Copied

Hi Roshan,

Here is the link: Dropbox - SWFLoaderTest

After a few more tests I've figured out that it crashes only when two of the SWF are present (even if only one is loaded). If I delete the one that is not loaded, it works. I've included the FLA files that generate both of the SWFs.

I've tested on iPhone 5 with iOS9.2, iPad 3 with 9.1 and iPad 2 with 8.1, with the same results.

Thanks a lot.

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 07, 2016 Mar 07, 2016

Copy link to clipboard

Copied

Hi,

It looks like your swf in test folder  testSD and testHD has same class name (themeIcon_2) defined in it.

As a work around, kindly change the names of the classes inside the swf and try if that works for you.

We will fix this issue soon and let you know soon.

-Roshan

Adobe Air

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
Community Beginner ,
Mar 31, 2016 Mar 31, 2016

Copy link to clipboard

Copied

Hi,

Thanks for the tip but unfortunately that would mean changing the whole asset management process in my app. Do you know if this bug will be fixed soon?

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 ,
May 22, 2016 May 22, 2016

Copy link to clipboard

Copied

Hi,

We have fixed this issue.

Please look for the fix in upcoming 22.0 release , beta or major.

-Roshan

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
Explorer ,
Nov 24, 2016 Nov 24, 2016

Copy link to clipboard

Copied

Hi Roshan,

It happens again with AIR 23/24. As I understand from http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air24_flashplayer24_releasenotes.pdf  it's a known issue: [iOS] Apps created using Flex in AOT mode crashes on iOS (4186829)

Are you planning fix it in upcoming update?

Regards,

Dmitrii

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 ,
Nov 27, 2016 Nov 27, 2016

Copy link to clipboard

Copied

Hi,

We have this issue fixed internally and this will be out in our next AIR 24 beta/release build.

Thanks,

Krati

Adobe AIR Engineering

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
Explorer ,
Dec 13, 2016 Dec 13, 2016

Copy link to clipboard

Copied

Have you fixed this issue in AIR 24.0.0.180 Release?

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 ,
Dec 14, 2016 Dec 14, 2016

Copy link to clipboard

Copied

Yes. Please download the latest AIR 24 SDK from Download Adobe AIR SDK  and give this a try. Let us know in case the issue is still reproducible.

Thanks,

Ankit | Adobe AIR Engineering

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
Explorer ,
Jan 26, 2017 Jan 26, 2017

Copy link to clipboard

Copied

I've tried it. This isn't working! You haven't fixed it!

When are you going fix it?

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 ,
Jan 30, 2017 Jan 30, 2017

Copy link to clipboard

Copied

Hello Dmitry,

Issues  - AIR19/20 crashing in AOT mode with Loader.load() and Apps created using Flex in AOT mode crashes on iOS (4186829) are different. Which one is still reproducible at your end ? Could you please share more information or sample project with us so that it will be very helpful for us to reproduce and work on that.

Regards,

Mayank

Adobe AIR Team

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
Explorer ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

Hello @Mayank_Gupta,

There is another topic with the same issue Can't update to Air23/24 on iOS due to crash in shared interfaces

You've replied at Bug#4194914 - Interfaces don't function on iOS in AIR23 when shared between swf's  "... issue is reproducible at our end and we are further investigating it"

Also there is a bug report AIR-4194914 at the new Tracker.

Is it possible to fix it at AIR 25 Release?

Regards,

Dmitrii

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
Explorer ,
Feb 14, 2017 Feb 14, 2017

Copy link to clipboard

Copied

Hello Adobe AIR Team,

Do you have any news?

We should use AIR 22 to Release iOS App. That's really terrible.

Regards,

Dmitrii

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
Explorer ,
Mar 24, 2017 Mar 24, 2017

Copy link to clipboard

Copied

Hi Adobe Team,

Are you planning to fix this issue?

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 ,
Oct 19, 2017 Oct 19, 2017

Copy link to clipboard

Copied

LATEST

Trackerā€‹

voted!

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