[haXe] haXe Alpha 2
Nicolas Cannasse
ncannasse at motion-twin.com
Fri Nov 25 22:45:42 CET 2005
Hi list,
I just released haXe compiler Alpha2 on http://haxe.org. There is now
SWF generation ! Only iterators (for and ... operator) are not supported
right now, other generation have not been tested a lot so there might be
a few bugs.
Classes :
haXe compiles all classes into a single SWF file (not in sub MC with
__Package linkage name). Your classes are accessible into this SWF
context (they're NOT put in _global). They can't then overwrite another
SWF classes since they'll have different contexts.
Boot :
Haxe classes all have access the the "Boot" statics (haxe/flash/Boot.hx)
which give you an access to _global , _root and "current" which is the
MC where the classes have been defined (same as "main" parameter with
MTASC).
Libraries :
There is right now only a small part of the MovieClip class in the
haxe/flash directory. You can add your own "native" (intrinsic) Flash
classes here (TextField, LocalConnection, XMLSocket, ....). Simply write
the corresponding .hx file.
I'll take some time later to think about which classes should be
accessible and how. The goal is to simplify a little Flash APIs if
needed. If you have suggestion, just post your .hx proposals on the list.
Classes such as XML and Array will kept in the standard library
(haxe/std) so they can be used the same way on all haxe platforms. The
classes (haxe/flash) are then Flash-specific.
Bugs :
You can now try to play a little more with haXe :) There should still
have some bugs here and there, so when you encounter one, please try to
reproduce it as the smallest .hx file possible (one single file if
possible), and send the file on the list.
Thanks,
Have fun !
Nicolas
More information about the Haxe
mailing list