Updated example to Haxe 3 (drops support for Haxe 2.x)