Enumerations example in AS3