I had a typo in the name of the overriding method in the sub-class! Once I figured that out it worked exactly as explained in by Moock..

Thanks.

T. Michael Keesey wrote:

On 6/29/07, Andrew Sinning <[EMAIL PROTECTED]> wrote:

How do you get a super-class instance to call an over-riding method in a
sub-class?  I'm using AS2.


Just call the method. That's it.

I recall it being more complicated in Lingo, but in pretty much every
other OOP language (Java, C++, AS, etc.), when a method is called, it
uses the method of the object's class, not the method of whatever
class the calling method was defined in. (If that makes sense.)

_______________________________________________
[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

Reply via email to