# Help me with this on (rollout)

**URL:** https://forum.kirupa.com/t/help-me-with-this-on-rollout/41568
**Category:** flash
**Created:** [January 30, 2004, 5:23pm UTC](https://forum.kirupa.com/t/help-me-with-this-on-rollout/41568 "2004-01-30T17:23:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![enb141](https://avatars.discourse-cdn.com/v4/letter/e/82dd89/32.png) [@enb141](https://forum.kirupa.com/u/enb141)
#### Post date: [January 30, 2004, 5:23pm UTC](https://forum.kirupa.com/t/help-me-with-this-on-rollout/41568/1 "2004-01-30T17:23:00Z")

</div>

I’m creating a button with increase size , decrease size, the increase size it’s working with on (rollover) but the rollout part doesn’t works, can anyone helpme with this please

this is the code of the button HN

on (rollOver) {  
func\_agrandar = function () {  
if (\_root.i\_HN \< 125) {  
HN.\_yscale=\_root.i\_HN;  
HN.\_xscale=\_root.i\_HN;  
\_root.i\_HN++;  
Text.text = \_root.i\_HN;  
}  
}

```
fadeInt = setInterval(func_agrandar, 1);

```

}

on (rollOut) {  
func\_achiquitar = function () {  
if (\_root.i\_HN \> 100) {  
HN.\_yscale=\_root.i\_HN;  
HN.\_xscale=\_root.i\_HN;  
\_root.i\_HN–;  
Text.text = \_root.i\_HN;  
}  
}

```
fadeOut = setInterval(func_achiquitar, 1);

```

}
