2

We are building a large-scale app with AIR for iOS.

One constraint of an AIR app with the iOS packager is that there are no modules. It is possible to load SWF files, but any embedded actionscript code is ignored.

We are wondering what happens to an AIR app for iPad when the code size gets very large. Are you aware of any technique for dividing code up into logical load groups, or do app developers just rely on virtual memory to swap in only a subset (hopefully) of the entire binary image?

4

1 回答 1

0

不可以,AIR 不允许打包多个主要 SWF。

我们有一个相当大的项目,也想使用模块。

我们最终得到的解决方案是删除所有嵌入式源[Embed]这包括由 Flash IDE 或类创建的图形和声音库。

所有资源都在运行时使用

我们有 36 MB SWF 文件,现在只有 1.4 MB 加上所有外部资源。

于 2012-06-02T11:35:18.250 回答