haXe is a high level object idiom that:
- Compiles to C++, AS3, AS2 and Neko (‘Haxe native’)
- Exports to javascript and PHP
- Compiles and exports to… other stuff.
Have a look at their site! I’m just getting started here.
Setting up
- Download haXe
- Download FlashDevelop 3. FlashDevelop seems to be the best (maybe the only) IDE around with nice Haxe support and integration (auto-completion etc…)
Creating and running a project
- In FD3 Go to [Project > new], scroll down and select any HaXe target. I chose javascript. and typed trace(hi); and Lib.alert(“Hi”); in Main.hx’s main function (default project template).
- Press the play button in FD3 and, well, check what happens…
Getting up to Speed
The Haxe website has got docs for all compile/export targets. There is also a very active blog dedicated to Haxe gaming (Going all the way to teaching you how to haXe your iPhone!)

