# How to make dynamic buttons?

**URL:** https://forum.kirupa.com/t/how-to-make-dynamic-buttons/269433
**Category:** flash
**Created:** [August 27, 2008, 3:31pm UTC](https://forum.kirupa.com/t/how-to-make-dynamic-buttons/269433 "2008-08-27T15:31:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bluemagica](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@bluemagica](https://forum.kirupa.com/u/bluemagica)
#### Post date: [August 27, 2008, 3:31pm UTC](https://forum.kirupa.com/t/how-to-make-dynamic-buttons/269433/1 "2008-08-27T15:31:16Z")

</div>

I am trying to make dynamic buttons…for me there are two ways, and i have queston for each.

1. I am creating a simple button, and a dynamic text field, within a movieclip.  
Problem: When the cursor comes over the text field, it changes from “hand” to “arrow”…how do i prevent this?

2)I am creating a class for the button by extending movieclip.  
Problem: How do i stretch the button to always fit the label within it?
