Any existing Flash SWF compilers that can understand directives like #IF #ENDIF, etc?
Some SWF Compilers: (Hopefuls)
I've used mtasc
, and it does not support this kind of conditional compilation. However, it looks like Flex 3's mxmlc
has support for this via the -define
command line option. Also, Haxe does exactly what you want.