Archives

The List

« Haxe: “Invalid Class name” during compilation | Main | Those were the days… »

My First Flash (nee Haxe) App

By Carsten | December 4, 2008

Kristian introduced me to Haxe, a cool scripting language that will let you easily write Flash, JavaScript and PHP applications that utilize the same set of libraries. Always keen to learn new stuff, I thought I’d try my hands at writing my nth iteration of the Game of Life, this time for Flash. (The Game of Life is my preferred “Hello World” equivalent; just slightly more complicated and good for learning how programming languages do basic UI stuff).

Writing the app turned out to be surprisingly trivial; from the time I downloaded Haxe until I was looking at the first iterations blink on the screen was just a few hours.

The main problem in using Haxe is the lack of structured library documentation; most of my “coding” time was spent Googling for information on which classes to use and how to use them.

Give it a whirl! If you need inspiration for starting patterns, try one of the two patterns below.

Topics: Haxe |

One Response to “My First Flash (nee Haxe) App”

  1. dan Says:
    October 28th, 2009 at 9:46 pm

    So where’s the code? We’d love to see it!

Comments