[haXe] Accessing mx libraries from Haxe
Gabriele Farina
g.farina at pharaondev.com
Thu Sep 21 21:29:47 CEST 2006
>
> Have a look at http://haxe.org/tutos/flex_and_haxe_intro
>
> Nicolas
I read the article and I started to build a script that extracts all
the classes from the Flex 2 SWCs and saves them into Haxe classes
(using --gen-hx-classes).
I saw in some generated sources that the dollar ($) character is
used before all the methods or properties that have been declared as
mx_internal into AS3 sources. I never used Flex 2 so I don't know if
fields preceded by a $ are considered private and used only
internally by the framework or can be used by the users. In the first
case they can be safely removed from the haxe files, instead I should
find a way to expose them (I think Haxe does not support $ into
identifiers, right?).
Someone could help me to understand If I have to remove those
definitions or find a way to expose them ?
Secondly I'd like someone with Flex 2 to send me the intermediate AS3
files build by the mxml compiler (using -compiler.keep-generated-
actionscript a), just to understand if I can create an haxe script
that translates mxml files to haxe classes so we can avoid using Flex 2.
Gabriele
p.s: sorry for my coursed english but I'm in a hurry!
More information about the Haxe
mailing list