I've been aware of Haxe for some time. Up until now, I've mostly wanted to target Flash so I just didn't bother with it. Recently, I've been looking into ways to target iOS and Android from the one code base and stumbled across NME.
I wrote a quick script that randomly outputs squares on the stage, just something simple.
You should be able to get it to build cleanly with any of the following:
nme test project.nmml flash nme test project.nmml html5 nme test project.nmml ios -simulator