gpt4 book ai didi

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

转载 作者:可可西里 更新时间:2023-11-01 05:45:34 24 4
gpt4 key购买 nike

有了 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com