# Newbie-can anyone help? shrinking and growing button when rollover

**URL:** <https://forum.kirupa.com/t/newbie-can-anyone-help-shrinking-and-growing-button-when-rollover/50885>\
**Category:** Uncategorized\
**Created:** [May 7, 2004, 9:09am UTC](https://forum.kirupa.com/t/newbie-can-anyone-help-shrinking-and-growing-button-when-rollover/50885 "2004-05-07T09:09:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hnhassan](https://avatars.discourse-cdn.com/v4/letter/h/22d042/32.png) [@hnhassan](https://forum.kirupa.com/u/hnhassan)\
**Post date:** [May 7, 2004, 9:09am UTC](https://forum.kirupa.com/t/newbie-can-anyone-help-shrinking-and-growing-button-when-rollover/50885/1 "2004-05-07T09:09:10Z")

</div>

Hi folks,

I’m a newbie… and have a problem. Basically I know what I want to happen, but I need some genius to convert my lay-terms into action script (mx 2004) or whatever works.

Ok, I have a button that I want to smoothly grow when I rollover it. When I rollout of it, it then needs to shrink back to it’s original size. But… This is the tricky bit! -How do I make it so that if I rollout half way whilst its getting larger, it begins to shrink from that point on and doesn’t jump/jitter?

I need to set a limit to the size that it grows to e.g to a maximum 120x120px.

Any help would be much appreciated.  
TIA  
Hass
