Skip to main content
Participant
April 16, 2014
Answered

ios external swf loading freeze

  • April 16, 2014
  • 1 reply
  • 438 views

Hello,

I have an application with several external swf packaged with the ipa. The application used to freeze only in appstore mode, but not in adhoc or ipa-debug mode when trying to load one of the swfs, so I stopped using it and the other swfs worked correctly in appstore mode, and I submitted the application correctly.

I updated the application a little, but have not updated the external swfs. Now the application freezes in appstore and adhoc mode when trying to load any of the swfs. However the application works perfectly in ipa-debug mode.

This happens even when I package with the latest AIR 13.

I am packaging on windows.

Any help is greately appreciated.

This topic has been closed for replies.
Correct answer egysnake

OK, I fixed it.

The problem is that I forgot the debug flag on for the compilation of swf and packaged it for appstore ios, and this was the problem.

I suggest that adt issues an error when it encouters such debug swf and packaging for app-store.

1 reply

Colin Holgate
Inspiring
April 16, 2014

AIR was updated at some point to help with loading of external swfs. As part of that change you had to start using loader context, and currentdomain, for it to work.

Look at this article:

http://help.adobe.com/en_US/as3/dev/WSd75bf4610ec9e22f43855da312214da1d8f-8000.html

egysnakeAuthor
Participant
April 16, 2014

Thank you very much for your prompt reply.

But I am already doing it this way, as I released the application using flex & AIR 4.0 beta.

I updated to AIR 13.0 and tried AIR 13.0 beta just released April 15th and when it did not work I switched back to the AIR 4.0 beta with no luck.