As promised, here's how to do multiple inheritance in ActionScript 3.

http://www.darronschall.com/weblog/archives/000245.cfm

-d

Darron J. Schall wrote:

Multiple inheritance is actually possible with AS3, despite popular belief that it's not supported.  It's not "true" multiple inheritance int he C++ sense of the word, and you can't list more than one class as a super class via extends.. but theres a way to get the job done in AS3.

I have a weblog post queued up to go out this week, but I'll push it up to today and try to get it out over lunch for you to explain how to simulate it.  I don't recommend the approach be taken often, but there are certain use cases where it's extremely useful.  It'll solve your problem, give me just a few to get it on the old blog.. :-)

-d


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to