A couple of questions about Adobe AIR


#1

So I installed and compiled to AIR using

openfl test project.xml air

It ran just fine but when I closed it I noticed the file it created has a .swf extension rather than .air, is it supposed to be like that?
It’s been a while since I made an AIR app but aren’t you supposed to make a self signed certificate for it?
And is it possible to have AIR show up as an option in the target dropdown in haxedevelop?

Thank you


#2

Also, when I try to open the file from the folder I get this error:

ReferenceError: Error #1065: Variable flash.desktop::NativeApplication is not defined.

#3

We generate only the SWF file (which is used in debugging from the AIR debug launcher) by default, because it builds faster.

For releases, you would want to use the openfl deploy air option, which should generate output for a captive runtime executable, which also still has an AIR *.swf file, but includes an executable for running it