# Inheritance!

**URL:** <https://forum.kirupa.com/t/inheritance/327387>\
**Category:** Uncategorized\
**Created:** [February 26, 2012, 12:24pm UTC](https://forum.kirupa.com/t/inheritance/327387 "2012-02-26T12:24:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeponkz](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Post date:** [February 26, 2012, 12:24pm UTC](https://forum.kirupa.com/t/inheritance/327387/1 "2012-02-26T12:24:45Z")

</div>

public class button extends CustomButtons

how could I trace the extends of button??

var btn:button = new button()  
btn.addEventListener (MOUSE.CLICK, onClick)

function onClick(e:MouseEvent)  
{  
trace (???) //the output should be CustomButtons…  
}
