简体   繁体   中英

Integrate 3rd Party Flash Component into an Adobe Air Application?

I'm fairly proficient with HTML/Javascript/CSS. It's my understanding that I can write an Adobe Air application using just those technologies. 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. Can I embed this 3rd party flash component into my Adobe Air application? 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

And if you wanted to embedd a swf file into that html you could use the following code:

<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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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