xcode 如何在 iOS 应用程序中嵌入 Flash 文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15018719/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 02:50:23  来源:igfitidea点击:

How to embed flash files in iOS app

iphoneobjective-cxcodeflash

提问by thavasidurai

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

我有一些 Flash 文件,我需要将这些文件集成到 iPad 应用程序中。我搜索了很多,但每个人的答案都是

- iOS will not support flash.

- iOS 将不支持闪存。

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

- 即使你整合了 Flash 文件应用商店也不会接受。

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.

但我的应用程序不适用于应用程序商店,这是一个企业应用程序。我们可以在 Objective-c 本身中完成所有动画,而不是集成 Flash 文件。但客户要求在 iPad 应用程序中集成 Flash 文件。有没有替代解决方案。请指导我。

回答by danii

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

当然你可以在 iOS 上运行 Flash 应用程序,你只需要使用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.

Adobe AIR 是一个跨平台运行时,使您能够使用现有的 Flash/ActionScript 或 HTML/JavaScript 开发技能和工具在浏览器之外和移动设备上构建和部署应用程序、游戏和视频。

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

这是有关如何构建针对任何 iOS 设备的 Flash ActionScript 3 应用程序的特定资源页面

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.

AIR 的美妙之处在于,如果您的应用程序代码组织良好,您可以将其中的大部分代码重用于任何构建,无论是 Android、iOS、Blackberry,甚至是桌面应用程序(windows 和 macosx)或 Web。

回答by Durai Amuthan.H

Hybrid way:

混合方式:

Flash to html5 conversion then open HTML document using webview

Flash 到 html5 的转换然后使用 webview 打开 HTML 文档

  • Google swiffy:
  • 谷歌 swiffy:

Swf to HTML 5

瑞士法郎到 HTML 5

Note:

笔记:

maximum of 1 mb only be converted at present

目前最多只能转换 1 mb

Link:

关联:

click here

点击这里

  • Adobe wallaby:
  • 土坯小袋鼠:

Fla to HTML 5

FL 到 HTML 5

Note:

笔记:

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

目前只支持cs5,低版本需要在cs5中重新保存才能转换。

Link:

关联:

click here

点击这里

Native way:

原生方式:

  • Adobe air:
  • 土坯空气:

One could run actioscript flash content directly in ios devices.

可以直接在 ios 设备中运行 actioscript flash 内容。

Note:

笔记:

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

目前,您可以制作独立的 ios 应用程序,但无法与现有应用程序集成。

Link:

关联:

click here

点击这里

回答by Matthias

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

这只是绕道而行,但您可以安装Photon浏览器并从您的应用程序中调用它。