JP Richardson
JP Richardson

Reputation: 39435

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!

Upvotes: 1

Views: 216

Answers (1)

user130995
user130995

Reputation: 26

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.

Upvotes: 1

Related Questions