Skip to main content
Inspiring
March 29, 2013
Question

AIR 3.7 Feedback

  • March 29, 2013
  • 1 reply
  • 719 views

With the new IOS loading abilities introduced in 3.6 & 3.7, I find them pretty limited for a couple of reasons:

  1. The fact that the complier strips AS code from the external swf files and embeds it in the main swf file means that anytime my assets change, my master swf file must be recompiled and re-submitted to the App Store. Not desirable. The whole point of having remote swf assets is to keep the assets separate from the main application code, so that the application's content can be updated on an as needed basis without having to recompile the main app.
  2. Having the restriction to load an external swf file only once is a problem. Picture a view based mobile app that uses external swf assets, like pdfs that have been converted to swf files. Such an app would only allow the user to view the document only once when the view was loaded with this restriction. When the user goes back to the view again the app locks up.

My next task during the development of my application is to separate all of the images, xml, mp4, and swf assets from the main app and make them downloadable on an as needed basis, so that the initial download of the app is small. I think these new features don't really help do that in an ideal way. Is this just because of IOS restrictions?

This topic has been closed for replies.

1 reply

Romil Mittal
Adobe Employee
Adobe Employee
April 1, 2013

>> The whole point of having remote swf assets is to keep the assets separate from the main application code

No, the goal of having remote swfs is to reduce the initial application size, and download the assets only when they are actually required. We don't recommend updating the external swf files (which are stripped) independently as that would result in an unknown behavior because of the design of our swf compiler (AOT).

>> Having the restriction to load an external swf file only once is a problem.

This restriction is not applicable to the external swf files which do not contain any abc code.

>> I think these new features don't really help do that in an ideal way. Is this just because of IOS restrictions?

You are right, that this feature would still not allow you to download code from external sources (which is a result of iOS restrictions).

leejkAuthor
Inspiring
April 1, 2013

Can you tell me what my options are then for this scenario?

I have multiple swf files that have been converted from pdf files using Print2Flash. The format of the swf files is such that they contain no AS code other than for each pdf page, a matching symbol was created and given a AS Linkage name. Currently I can only load this type of swf file once in AIR 3.6 even if it is packaged with the app, which is a problem.