简体   繁体   English

ActionScript 3-如何在移动设备上放置.swf?

[英]actionscript 3 - how to put .swf on a mobile device?

i have asked this question before but the answer received was not applicable in my situation. 我之前曾问过这个问题,但收到的答案不适用于我的情况。 I searched the net and still unable to find anything. 我在网上搜索,仍然找不到任何东西。 I have a game in flash actionscript 3.0 and i would like to put it on my htc hero - android phone. 我有一个Flash ActionScript 3.0游戏,我想把它放在我的htc英雄-安卓手机上。 Are there any tutorials that state on how to do this please? 是否有任何说明如何执行此操作的教程?

thanks. 谢谢。

You can do it using Flash CS5. 您可以使用Flash CS5来完成。 There is an option to start a new "AIR for Android" project. 有一个选项可以启动一个新的“ AIR for Android”项目。 You can use the code from your existing game. 您可以使用现有游戏中的代码。 You may have to tweak parts of an existing game because mobile devices are less powerfull, and have different inputs like touchscreens, virtual keyboards and menu buttons. 您可能需要调整现有游戏的某些部分,因为移动设备的功能较弱,并且具有不同的输入,如触摸屏,虚拟键盘和菜单按钮。

Generally speaking, you want to make a standalone apk using the Adobe Air paradigm (ie you do not put a .swf on the device). 一般来说,您想使用Adobe Air范例制作独立的APK(即,不要在设备上放置.swf)。
http://www.adobe.com/products/air/sdk/ http://www.adobe.com/products/air/sdk/
http://www.adobe.com/devnet/devices.html http://www.adobe.com/devnet/devices.html
Adobe will be rolling Android support into Flash (using the Air paradigm) starting with CS5.5 to be released in Q2 2011; Adobe将从2011年第二季度发布的CS5.5开始将Android支持扩展到Flash中(使用Air范例)。 the public beta they released in November 2010 (for CS5) is no longer available: http://labs.adobe.com/technologies/flashpro_extensionforair/ 他们于2010年11月发布(针对CS5)的公开测试版不再可用: http//labs.adobe.com/technologies/flashpro_extensionforair/

No tutorials come to mind. 不会想到任何教程。 If I were to search Google, my luck would probably be as good as yours. 如果我要搜索Google,我的运气可能和你一样好。

I have been recently writing a mobile application using Adobe's Preview of Flash Builder Burrito. 我最近一直在使用Adobe的Flash Builder Burrito预览版编写移动应用程序。 There is a project creation option in there to create an Action Script Mobile Application which is exactly perfect for what you are asking in your question. 这里有一个项目创建选项,可以创建一个Action Script移动应用程序,它完全适合您在问题中提出的要求。

I assume that the Actionscript game is written by you so you will have no problem moving it into the project created by Flash Builder Burrito. 我认为Actionscript游戏是您编写的,因此将其移入Flash Builder Burrito创建的项目中不会有问题。

In fact, I think Adobe just released the final version of Flash Builder Burrito, and you can download it as a fully functional free 60 day trial. 实际上,我认为Adobe刚刚发布了Flash Builder Burrito的最终版本,您可以将其作为功能齐全的免费60天试用版下载。 That should be more than enough time to bundle up your game and deploy it to the Android app store, or just debug it on your own phone for yourself. 那应该是足够的时间来捆绑游戏并将其部署到Android应用商店中,或者只是自己在手机上对其进行调试。 Adobe also gives out free licenses for students, and unemployed developers. Adobe还为学生和失业的开发人员提供免费许可证。

Hope this helps. 希望这可以帮助。 Let me know if you have any trouble it should be very straight forward to wrap up your game and get it on your Android phone. 让我知道您是否有任何麻烦,请立即整理好游戏并将其安装到Android手机上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM