I’ve been using compc with ANT to compile some of my class files into SWC files. This all works well, until any of the classes to be compiled contain a reference to any of the AIR classes. At this point I start getting the following type of error:
col: 39 Error: Type was not found or was not a compile-time constant: NativeWindow.
col: 46 Error: Type was not found or was not a compile-time constant: File.
col: 23 Error: Definition flash.desktop:NativeApplication could not be found.
It only seems to be any of the AIR packages/classes that cause a problem, so I’m really hoping they are not just simply exempt from compilation.
If anyone knows how I can get around this, I would very much appreciate the help.
Thanks.