使用WebKit框架打开swf文件 [英] opening swf files using WebKit framework

查看:79
本文介绍了使用WebKit框架打开swf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我如何使用WebKit框架打开swf文件。请指定链接,该链接指定了执行相同操作的说明。

Can any one tell how can i open an swf file using WebKit framework. Please specify the link which specify instructions to do the same.

推荐答案

您无法使用WebKit打开SWF。

You can't open an SWF with WebKit.

如果系统上安装了Flash插件,并且HTML页面包含相应的<$ c,则Flash插件可以加载SWF文件$ c> embed 标签已加载到 WebView 中。如果您只想显示Flash内容,则应构造一个包含相应HTML标记的HTML页面,并将其加载到 WebView

If the Flash plug-in is installed on the system, a SWF file can be loaded by the Flash plug-in if an HTML page which contains the appropriate embed tags is loaded into a WebView. If all you want to do is display Flash content, you should construct an HTML page that contains the appropriate HTML tags and load it into your WebView.

请注意,由于不支持Flash插件进行垃圾回收,因此如果您的应用程序使用垃圾回收,则该插件将无法工作。

Note that because the Flash plug-in is not garbage-collection supported, the plug-in won't work if your application uses garbage collection.

如果您确实需要打开和操作SWF文件的内容,则需要自己进行操作。

If you actually need to open and manipulate the contents of an SWF file you'll need to do it yourself.

如果您想播放Flash内容而没有您可以使用商业 FlashInApp 框架的WebView,但仍然无法使用带有垃圾收集。

If you want to play Flash content without a WebView you can use the commercial FlashInApp framework, but again it won't work with garbage collection.

这篇关于使用WebKit框架打开swf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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