There is no super.super syntax in AS3. What you want can only be done
indirectly, such as through a scheme like this:
class A
{
function foo():void { trace(1); }
}
class B extends A
{
function $foo():void { super.foo(); }
override function foo() { trace(2) };
}
class C extends B
{
// can call $foo() to execute A's foo()
}
- Gordon
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Anthony Lee
Sent: Monday, February 26, 2007 8:00 PM
To: [email protected]
Subject: [flexcoders] how do you call the super's super?
Hi,
Sorry for the lame AS questions, but can anyone tell me how to call
the super method of the class I'm extending? ie. the grandparent and
not the parent.
Thanks,
tonio