AS3 - 从iOS的外部瑞士法郎实例化对象 [英] AS3 - Instantiating objects from external .swf in iOS

查看:118
本文介绍了AS3 - 从iOS的外部瑞士法郎实例化对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在找加载中都有图形化的资产,这些都是为ActionScript导出外部.swfs,并在打包iOS的一个.swf实例这些资产。

I'm looking to load external .swfs that have graphical assets in them which are all 'exported for actionscript', and instantiate those assets in a .swf packaged for iOS.

我使用ADT命令行打包以创建.ipa文件。我包括SWF文件,同时包装。该SWF文件似乎正确加载,并给了我没有错误,但是当装载机为每个瑞士法郎的的bytesLoaded 等于 bytesTotal的内容属性保持空。

I'm using the adt command line packager to create the .ipa file. I'm including the .swf files while packaging. The .swf files seem to load correctly, and give me no errors, but when the Loader for each .swf's bytesLoaded equals bytesTotal the content property remains null.

该项目工程完全使用时,我打包的.ipa的 -target ipa的试验间preTER 标志,而不是当我使用 -target ipa的测试

The program works perfectly when I package the .ipa using the -target ipa-test-interpreter flag, but not when I use the -target ipa-test.

我假设的问题是,iOS的不允许Flex开发人员来加载包含动作外部SWF文件,并​​在外部SWF文件计数为ActionScript导出为ActionScript苹果的安全性的目的,策略。我在寻找确认而这是否是问题。

I'm assuming the problem is that iOS doesn't allow Flex developers to load external .swf files that contain actionscript, and the 'export for actionscript' in the external .swf files counts as actionscript for the purposes of Apple's security policies. I'm looking for confirmation as to whether or not this is the problem.

当使用ADT打包的.ipa文件,不具有已为ActionScript导出库资源的iOS块外部SWF文件?

类似的讨论: http://forums.adobe.com/message/3728665

谢谢!

Ĵ

推荐答案

您不能加载在苹果设备上外部SWF文件时,您要创建一个应用程序。

You are not allowed to load external swf files on apple devices when you are creating a app.

你的解决方案是:把所有的图形和其他一切SWC文件,然后编译一个IPA文件

the solution for you would be: put all your graphics and everything else into swc file and then compile the one ipa file.

这篇关于AS3 - 从iOS的外部瑞士法郎实例化对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆