> I suppose your CC build script could run sed over the > source or something but that's fairly yuck too.
[Pete] Why not just use the AS3 "include" directive to include a snippet of a line of AS3 code that would declare your public static variable for your version inside the class body and override this file during a build? No sed scripts required.

