# Make MC shiver?

**URL:** <https://forum.kirupa.com/t/make-mc-shiver/174531>\
**Category:** Uncategorized\
**Created:** [January 6, 2006, 1:54pm UTC](https://forum.kirupa.com/t/make-mc-shiver/174531 "2006-01-06T13:54:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul\_ferrie](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@paul\_ferrie](https://forum.kirupa.com/u/paul_ferrie)\
**Post date:** [January 6, 2006, 1:54pm UTC](https://forum.kirupa.com/t/make-mc-shiver/174531/1 "2006-01-06T13:54:15Z")

</div>

Hi guys,  
Math not being one of my strong points the fla’s i came across hurt my head lol.

What i want to do is basiclly make an Mc shiver for 3-4 seconds.

What i have so far is this on the mc

```auto

onClipEvent (load) {
 this.elasticEffect = function (tar, accel, convert) {
  xPos = xPos * accel + (tar - this._x) * convert;
  yPos = yPos * accel + (tar - this._y) * convert;
  this._x += xPos;
  this._y += yPos;
 };
}

```

and then

```auto

win.elasticEffect (220, 0.7, 0.4);

```

But this only moves it to postion of 220.

Can some help

thanks
