# Help scaling a MC with easing

**URL:** <https://forum.kirupa.com/t/help-scaling-a-mc-with-easing/249164>\
**Category:** flash\
**Created:** [January 16, 2008, 1:48am UTC](https://forum.kirupa.com/t/help-scaling-a-mc-with-easing/249164 "2008-01-16T01:48:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tapps](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tapps](https://forum.kirupa.com/u/tapps)\
**Post date:** [January 16, 2008, 1:48am UTC](https://forum.kirupa.com/t/help-scaling-a-mc-with-easing/249164/1 "2008-01-16T01:48:04Z")

</div>

Hi guys,

I’m trying to get a MC to resize & ease on rollover using actionscript rather than tweening.

I’ve got the following code on the MC:

on (rollOver) {  
this.\_xscale = 120;  
this.\_yscale = 120;  
}

on (rollOut){  
this.\_xscale = 100;  
this.\_yscale = 100;  
}

which scales the MC on rollover but I want to add easing to make it smoother.

Any suggestions?  
Cheers.
