ios - AIR 3.6 iOS - 使用 ABC 加载外部 SWF

标签 ios actionscript-3 flash air flash-builder

有了 AIR 3.6,是否终于可以从 Web 加载带有 AS3 代码的外部 swf 文件并在 iOS 设备上使用它?

我在 their web page 上看到他们说新功能包括:

Packaging and Loading Multiple SWFs: This feature provides developers better memory management by allowing them to load the assets they need dynamically at ANY time from multiple SWFs and not have to load it up-front.

澄清一下,这是否意味着它只适用于与应用程序一起打包的 swfs,或者也适用于外部 swfs?

最佳答案

这只是在 AIR 3.7 而不是 3.6 中宣布的。

AIR 3.6 能够将多个 swf 与您的 iOS 应用程序打包在一起,但不允许您从外部服务器下载它们。

AIR 3.7 让您能够从网站加载外部 swf。

Application developers will be able to host their secondary SWFs on an External server and load them on demand as per their application logic using this feature. The loading secondary SWFs which have any ABC code in AOT mode, which worked for just locally packaged SWFs earlier, will now work for loading SWFs externally as well

看起来字节码将包含在您的应用程序二进制文件中

During IPA packaging, ADT extracts the Actioscript code from all child SWFs which are specified within the sample text file, adds it to the final executable and moves the stripped SWFs into the "externalStrippedSwfs" folder created in the current working directory.

查看发行说明 PDF 以获取示例,

http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air3-7_flashplayer11-7_releasenotes.pdf

关于ios - AIR 3.6 iOS - 使用 ABC 加载外部 SWF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15411603/

相关文章:

ios - 如何知道 MPMusicPlayerController 何时自然改变播放项目

ios - 垂直居中 UITextField 的 attributedPlaceholder

ios - 如何在 SearchBar 没有焦点时单击取消按钮一次

actionscript-3 - 检索共享属性时工作人员获取空值

xml - 如何通过 ActionScript 3 中的嵌套子值过滤 xml 节点?

ios - 带有自定义 UITableView 单元格图像的 SDWebImage

flash - 在 Flex 中查找位图使用的总字节数

flash - 在Actionscript中绘制三次贝塞尔曲线?

flash - 加载的 swf 中的辅助功能属性未更新

silverlight - 为什么 Flash/Silverlight/Whatever 中没有所见即所得的富文本编辑器?