I've been writing interfaces several times now where I had wished
ActionScript would support not only methods but also properties for them. So
I'm wondering what's the reason that Adobe still hasn't added interface
support for properties. After all Java has them and even haXe supports them
too.
I know there is some workaround by using inheritance but that is rather
sub-optimal in my opinion. Does somebody know an answer for this and maybe
has a good solution?

While you can't specify properties in an interface, you can specify
getter/setter functions.

Cheers,

Steve

--
Steve Webster
http://dynamicflash.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to