[英]Integrate 3rd Party Flash Component into an Adobe Air Application?
I'm fairly proficient with HTML/Javascript/CSS. 我相当精通HTML / Javascript / CSS。 It's my understanding that I can write an Adobe Air application using just those technologies.
据我了解,我可以仅使用这些技术来编写Adobe Air应用程序。 Let's assume I want to convert one of my webapps to an Adobe Air application, but this web app uses a 3rd party Flash component.
假设我想将其中一个Web应用程序转换为Adobe Air应用程序,但是此Web应用程序使用了第三方Flash组件。 Can I embed this 3rd party flash component into my Adobe Air application?
我可以将此第三方Flash组件嵌入我的Adobe Air应用程序吗? If so, could you provide any resources on doing such a thing.
如果是这样,您是否可以提供任何有关执行此操作的资源。
Thanks! 谢谢!
That's easy... You can read about how to create your app html page here 这很简单...您可以在此处了解如何创建应用html页面
And if you wanted to embedd a swf file into that html you could use the following code: 如果您想将swf文件嵌入该html中,则可以使用以下代码:
<object type="application/x-shockwave-flash" width="100%" height="100%">
<param name="movie" value="app:/SWFFile.swf"></param>
</object>
Notice that the path to your swf file is 'app:/SWFFile.swf' that will point your air app to the app install directory. 请注意,您的swf文件的路径为“ app:/SWFFile.swf”,它将您的air应用程序指向应用程序安装目录。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.