Actionscript 3 does not support either of these constructs natively.

However, there are ways to implement them.

These links should give you some insight:

http://blog.petermolgaard.com/2008/11/02/actionscript-3-enums/
http://flexblog.faratasystems.com/?p=100

This is also a good insight into Actionscript 3 for C++ programmers:

http://blogs.adobe.com/kiwi/2006/05/as3_language_101_for_cc_coders_1.html


HTH



Steve


--- In flexcoders@yahoogroups.com, "SvenM" <smy...@...> wrote:
>
> I come from a C++ background and was wondering if anyone knew the following:
> 
> Does Actionscript have the equivalent of the enum operator where I can define 
> my own variable types for ease of coding?
> 
> Does Actionscript support overloaded constructors?
>


Reply via email to