One thing I really like about AS3 over AS2 is how much more compile-time type-checking it adds. However, it seems to be somewhat lacking in that there is no type-checked enumeration structure available. What's a good (best / accepted) way to do custom enumerated types in AS3?
Good answer, thanks!
HanClinto
2008-12-01 00:50:05
+1
A:
I know, this is a little outdated and does not exactly answer your question, but you might wanna check out haXe. You can also use it to generate as3 for you, plus there are many other reasons to use it. But this'd really get off topic...
back2dos
2009-09-29 11:23:09
+1
A:
Here's one pretty thorough Enum implementation: http://scottbilas.com/blog/ultimate-as3-fake-enums/
Tomislav Pokrajcic
2010-08-09 00:50:05