# Scale MC with easing!

**URL:** https://forum.kirupa.com/t/scale-mc-with-easing/11416
**Category:** flash
**Created:** [January 16, 2003, 9:15pm UTC](https://forum.kirupa.com/t/scale-mc-with-easing/11416 "2003-01-16T21:15:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jerry](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jerry](https://forum.kirupa.com/u/jerry)
#### Post date: [January 16, 2003, 9:15pm UTC](https://forum.kirupa.com/t/scale-mc-with-easing/11416/1 "2003-01-16T21:15:17Z")

</div>

Need some AS help here! :elderly:

I want to scale a MC! Like this:

```auto
on (press) {
	MyMC._xscale = 200;
	MyMC._yscale = 200;
}

```

But how do I get it to scale with ease? :sigh:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [January 16, 2003, 9:33pm UTC](https://forum.kirupa.com/t/scale-mc-with-easing/11416/2 "2003-01-16T21:33:33Z")

</div>

//MyMC:  
onClipEvent(load){  
target\_scale = \_xscale  
}  
onClipEvent(enterFrame){  
\_xscale = \_yscale += (target\_scale - \_xscale)/10  
}  
// button:  
on (press) {  
MyMC.target\_scale = 200;  
}

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [January 16, 2003, 9:49pm UTC](https://forum.kirupa.com/t/scale-mc-with-easing/11416/3 "2003-01-16T21:49:06Z")

</div>

:beam: THX alot m8!
