How to embed flash files in iOS app

£可爱£侵袭症+ 提交于 2020-02-20 05:58:04

问题


I have some flash files and i need to integrate those files in iPad app. i searched lot but everyone's answer is

- iOS will not support flash.

- even if you integrate flash files app store will not accept.

But my app is not for app store this is an enterprise app. Instead of integrating flash files we can do all the animation in our objective-c itself. But client is demanding to integrate flash files in iPad app. Is there any alternate solution. Please guide me.


回答1:


Sure you can run Flash apps on iOS, you just have to build them using AIR:

Adobe AIR is a cross-platform runtime that enables you to use your existing Flash/ActionScript or HTML/JavaScript development skills and tools to build and deploy applications, games, and videos outside the browser and on mobile devices.

Here is the specific resources page on how to build Flash ActionScript 3 apps targeting any iOS device.

The beauty of AIR is that if the code of your app is well organized, you can reuse most of it for any build being it for Android, iOS, Blackberry, or even a desktop app (windows and macosx) or the web.




回答2:


Hybrid way:

Flash to html5 conversion then open HTML document using webview

  • Google swiffy:

Swf to HTML 5

Note:

maximum of 1 mb only be converted at present

Link:

click here

  • Adobe wallaby:

Fla to HTML 5

Note:

At present cs5 only supported.the lower versions have to be resaved in cs5 to convert.

Link:

click here

Native way:

  • Adobe air:

One could run actioscript flash content directly in ios devices.

Note:

At present you could make stand alone ios apps only you can't integrate with existing app.

Link:

click here




回答3:


It is a detour only, but you could install the Photon browser and call it from your app.



来源:https://stackoverflow.com/questions/15018719/how-to-embed-flash-files-in-ios-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!