# AS button resize

**URL:** <https://forum.kirupa.com/t/as-button-resize/151465>\
**Category:** flash\
**Created:** [June 15, 2005, 5:40pm UTC](https://forum.kirupa.com/t/as-button-resize/151465 "2005-06-15T17:40:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [June 15, 2005, 5:40pm UTC](https://forum.kirupa.com/t/as-button-resize/151465/1 "2005-06-15T17:40:05Z")

</div>

Hi,

I have a menu which uses invisible buttons. However items in the menu are of variable widths. I want to be able to resize the button to fill the mc it is in.

I have tried the this, but no joy:

invisButton.\_width = mc.\_width;

any ideas?

thanks in advance.

ash
