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.
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
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.
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
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?
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
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
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
Copy link to clipboard
Copied
Have you fixed this issue in AIR 24.0.0.180 Release?
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
Copy link to clipboard
Copied
I've tried it. This isn't working! You haven't fixed it!
When are you going fix it?
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
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
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
Copy link to clipboard
Copied
Hi Adobe Team,
Are you planning to fix this issue?
Copy link to clipboard
Copied
Trackerā
voted!