O'Reilly logo

Away3D 3.6 Cookbook by Michael Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing Away3D Lite applications with haXe

So what is haXe and why would you ever want to use it? Well, very quickly, haXe is a multiplatform language that allows you to compile code to different languages such as PHP, C++, JavaScript, and of course ActionScript. Using haXe gives you several advantages. First, the compile time is extremely fast, second the language structure is very robust especially in comparison to ActionScript, and the compiled binary (SWF) is better optimized than regular Flash compilations that means your code performs faster. Also, in many cases, you will find that haXe compiled SWF are lighter than similar binaries produced with Flash.

Although haXe language has got a built-in standard Flash library you can't use a regular ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required