I have heard that you can use actionscript libraries in AIR if you are using the HTML side of things via window.runtime.

I want to use XIFF in our AIR app but we have HTML/CSS as the interface. I have seen examples of including a .swf into the HTML of an AIR app, but when I d/l the XIFF libraries they are all sourcecode (.as) files. Does anyone know

  1. how to compile the .as files into a usable swf library?

  2. how to use the .as files directly in AIR ?