# Adding easing

**URL:** <https://forum.kirupa.com/t/adding-easing/236272>\
**Category:** Uncategorized\
**Created:** [August 19, 2007, 9:46am UTC](https://forum.kirupa.com/t/adding-easing/236272 "2007-08-19T09:46:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madness](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@Madness](https://forum.kirupa.com/u/Madness)\
**Post date:** [August 19, 2007, 9:46am UTC](https://forum.kirupa.com/t/adding-easing/236272/1 "2007-08-19T09:46:31Z")

</div>

i have this code and its workin just fine … what i want to do is to make the " centerME" mc to center it self with a bounce ease … i tried my best but coudn,t it pull it of … btw it already center it self …

```auto
import mx.utils.Delegate;

Stage.scaleMode = "noScale";
Stage.align = "C"; 

var Movie:Object = new Object();
Movie.width = 550;
Movie.height = 350;

function positionStageMC():Void {

    this._x = (Movie.width/2)-(Stage.width/2);
    this._y = (Movie.height/2)-(Stage.height/2);
    
    c2._x = Stage.width;
    c2._y = 0;
    
    c3._x = 0;
    c3._y = Stage.height;
    
    c4._x = Stage.width;
    c4._y = Stage.height;

    numba1._x = 0;
    numba1._y = 0;

    numba2._x = Stage.width;
    numba2._y = 0;

    numba3._x = Stage.height;
    numba3._y = Stage.height;

    numba4._x = Stage.height;
    numba4._y = 0;
    
    centerME._x = Stage.width/2;
    centerME._y = Stage.height/2;
    
    ////1c._x = 0;
    ////1c._y = 0;
    
    
    ///////////////////////////////////////////////////
    
}

positionStageMC();

var slistener:Object = new Object();
slistener.onResize = Delegate.create(this, positionStageMC);
Stage.addListener(slistener);
    

```

help 😛
