It's possible AS doesn't support enums inside classes yet, though the author has already talked about it long ago. Most trouble-free option would probably be to just define an enum outside the class, and expose normally.