views:

72

answers:

1

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!

+1  A: 

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

This looks like a good answer. I don't see app:/ as being necessary though. You should be able to use a normal path and it will resolve to that when you compile.
mwilcox