Hi,
The compiler is thinking that super is a method in the 'super' class.
No, you cannot call super.super in AS3.
You could in a super.super class define
protected function $method():void
{
super.method();
trace(two levels up");
}
override protected function method():void
{
trace(two levels up override");
}
then in a subclass 2 levels down call
$method();
method();
Anyway, ;-)
Peace, Mike
PS, I have actually used this pattern with viewMetrics() a couple of times.
On 1/22/07, JWOpitz <[EMAIL PROTECTED]> wrote:
Hi Gordon, just curious to know if super.super.someMethod() is
supported in AS3. Or was that a typo below?
--- In [email protected] <flexcoders%40yahoogroups.com>, Gordon
Smith <[EMAIL PROTECTED]> wrote:
>
> super.super isn't supported in AS2. Can you describe your situation?
Why do
> you need to inherit from a class higher up the inheritance chain,
instead of
> from your superclass?
>
> - Gordon
>
> -----Original Message-----
> From: Simon Fifield [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 29, 2005 2:47 PM
> To: [EMAIL PROTECTED] Com
> Subject: [flexcoders] super.super?
>
>
>
> Hi Flexcoders,
>
> Is it possible to make a call like:
> super.super.layoutChildren();
> The compiler says "There is no such method with the name 'super'."
>
> Is there another way around?
>
>
>
> Kind Regards,
>
> Simon Fifield
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
<
http://us.ard.yahoo.com/SIG=129hv6udk/M=298184.6018725.7038619.3001176/D=gr
>
oups/S=1705007207:HM/EXP=1112223771/A=2593423/R=0/SIG=11el9gslf/*
http://www.
> netflix.com/Default?mqso=60190075> click here
>
>
<
http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
> :HM/A=2593423/rand=309547265>
>
>
> _____
>
> Yahoo! Groups Links
>
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/>
>
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]<flexcoders-unsubscribe%40yahoogroups.com>
> <mailto:[EMAIL
PROTECTED]<flexcoders-unsubscribe%40yahoogroups.com>?subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .
>
--
Teoti Graphix
http://www.teotigraphix.com
Blog - Flex2Components
http://www.flex2components.com
You can find more by solving the problem then by 'asking the question'.