No Clean Feed - Stop Internet Censorship in Australia
«
»

AS3

error!

03.12.08 | Comment?

My earlier post with code for an abstract class on which to base typesafe enumerations was flawed.

The “enumLock” variable will lock all enumerations. So the first reference to any enumeration based on the class will break all subsequent ones, even of different subclasses.

I guess this just shows inheritance and enumerated types don’t mix!

We really do need a language-level Enum feature in AS3 …

related

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


«
»
Close
E-mail It