This enum thinks it’s the last word in ActionScript enumerated-type implementations. In fact it thinks it’s so hot that it calls itself the Ultimate Enum. Check it out and see if it doesn’t do the trick for you. If it doesn’t, please let me know and I hope we can improve it further.
Example enum classes using this implementation are here.