Thanks Steve, yes that would be a solution I haven't thought much about yet. But it's still beyond me why property support wasn't added. It can be such a complex thing but would make OO life a good amount easier.
Cheers, Sascha > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Steve Webster > Sent: Monday, 03. July, 2006 02:33 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] AS3 - why no properties in interfaces? > > > 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 > _______________________________________________ > [email protected] > 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 _______________________________________________ [email protected] 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

