Typesafe Enums in ActionScript 2

Tuesday, July 8th, 2008

Typesafe Enums are perfect when you want to get the message across loud and clear, with no room for error. The classic use for an Enum is handling events, to give some context I'll demonstrate how you could handle events without using an Enum: /** * This example method will ...