# Extending the Button Class

**URL:** <https://forum.kirupa.com/t/extending-the-button-class/146832>\
**Category:** Uncategorized\
**Created:** [May 4, 2005, 3:48pm UTC](https://forum.kirupa.com/t/extending-the-button-class/146832 "2005-05-04T15:48:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaIQ](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@MaIQ](https://forum.kirupa.com/u/MaIQ)\
**Post date:** [May 4, 2005, 3:48pm UTC](https://forum.kirupa.com/t/extending-the-button-class/146832/1 "2005-05-04T15:48:30Z")

</div>

I have an AS file named MovieClipTLnd which I created to add a property to the MovieClip class, plus a function to trace the current value of the property I added.  
I works out just fine.  
But when I do the same trying to extend the Button Class, it won’t work.

check the last lines of this LiveDoc, a few days ago someone posted a comment regarding this problem

[[color=#800080]http://livedocs.macromedia.com/flash/mx2004/main\_7\_2/00001211.html#4716791[/color]](http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001211.html#4716791)

I know there are some workarounds for this problem… like embedding the button into movieclips and assigning properties as objects, but I need to know if it’s possible to Extend the Built-in Button class itself just like it can be done with the MovieClip Class.
