[haXe] a haxe extern generator
Scott Hyndman
scott at affsys.com
Mon Feb 19 16:30:12 CET 2007
What classes don't compile in ActionStep? They all should.
Scott
On 18/02/07, Niel Drummond <niel at cyanescent.co.uk> wrote:
> I have fixed the problem, thanks Nicolas and Julien for your help. I
> have got the AsWing tutorial to work using haxe, as the differences are
> really semantic. I hope to put up the results on my site when time permits.
>
> Nicolas, you were correct that reproducing static members up the class
> heirarchy is an error. The problem in the tutorial was caused by calling
> the static variables JButton.ON_PRESS, which is valid in actionscript,
> because it will retrieve the super declaration Componont.ON_PRESS, but
> in haxe you need to call the super static member directly. So in my
> earlier post you would change the addEventListener call to read:
>
> jbutton1.addEventListener (Component.ON_PRESS,
> myWindow.createEast, myWindow);
>
> rather than
>
> jbutton1.addEventListener (JButton.ON_PRESS,
> myWindow.createEast, myWindow);
>
> I am quite happy now that things are more or less working.
>
> kind regards
>
> - Niel
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
More information about the Haxe
mailing list