# Usage of "super"

**URL:** <https://forum.kirupa.com/t/usage-of-super/267236>\
**Category:** flash\
**Created:** [July 29, 2008, 11:29pm UTC](https://forum.kirupa.com/t/usage-of-super/267236 "2008-07-29T23:29:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![surferdudenate](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@surferdudenate](https://forum.kirupa.com/u/surferdudenate)\
**Post date:** [July 29, 2008, 11:29pm UTC](https://forum.kirupa.com/t/usage-of-super/267236/1 "2008-07-29T23:29:48Z")

</div>

## code:

```auto

package 
{
import flash.display.MovieClip;
public class SuperExample extends MovieClip
{
public function SuperExample()
{
var myExt:ExtenderSomeMore = new ExtenderSomeMore()
trace(myExt.thanks()); // output: Mahalo nui loa a bunch
}
}
}
 
 
class Base 
{
public function thanks():String
{
return "Mahalo";
}
}
 
class Extender extends Base
{
override public function thanks():String
{
return super.thanks() + " nui loa";
}
}
 
class ExtenderSomeMore extends Extender
{
override public function thanks():String
{
return super.thanks() + " a bunch";
}
}

```

* * *

Currently the output of the above code will be “Mahalo Nui Loa a bunch”

I want the output to be Mahalo a bunch. How can I achieve this if the only class I have access to is ExtenderSomeMore?

Thanks, Nate
