# Scale with easing on movieclip load - question

**URL:** <https://forum.kirupa.com/t/scale-with-easing-on-movieclip-load-question/257631>\
**Category:** flash\
**Created:** [April 15, 2008, 8:16pm UTC](https://forum.kirupa.com/t/scale-with-easing-on-movieclip-load-question/257631 "2008-04-15T20:16:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlnunes](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@carlnunes](https://forum.kirupa.com/u/carlnunes)\
**Post date:** [April 15, 2008, 8:16pm UTC](https://forum.kirupa.com/t/scale-with-easing-on-movieclip-load-question/257631/1 "2008-04-15T20:16:22Z")

</div>

Hi,  
How do I tell a movieclip to scale-up then scale-down, with easing, on load?

So the buttons appear one after another; scaling from 0% to 120% then back to 100%.

I have got a nice rollover scale w/ easing script; but can’t figure out how to do this at load of movieclip.

```auto
import mx.transitions.Tween;
import mx.transitions.easing.*;

this.button1.onRollOver = function() {
	//tween clip, property, easing type, initial value, end value, how long, use seconds
	var scalexTween = new Tween(this, "_xscale", Regular.easeOut, this._xscale, 120, 4, false);
	var scaleyTween = new Tween(this, "_yscale", Regular.easeOut, this._yscale, 120, 4, false);
};
this.button1.onRollOut = function() {
	var scalexTween = new Tween(this, "_xscale", Regular.easeOut, this._xscale, 100, 6, false);
	var scaleyTween = new Tween(this, "_yscale", Regular.easeOut, this._yscale, 100, 6, false);
};

```

Any questions or comments will be much appreciated!
