Hi stranger , :)
I dont think I quite understand what you need, however i will try anyway.
[quote] "How do you get a super-class instance to call an over-riding
method in a sub-class"
Inheritance assumes that you use a 'general' base class and a
'specialized' subclass. To make sure I underst
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 metho
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.
Hackish, but you could do SubClass.prototype.myMethod.call( this,
arg1, arg2...);
Anyway, you don't need this, because I think what you're t
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, et
How do you get a super-class instance to call an over-riding method in a
sub-class? I'm using AS2.
I'm parsing data into an object. The parser method is generalized, so
it should be in the super-class, I think... But there are exceptions in
the sub-classes. The call to start loading the da
5 matches
Mail list logo