# Image Jiggle

**URL:** https://forum.kirupa.com/t/image-jiggle/97456
**Category:** Uncategorized
**Created:** [December 22, 2003, 5:47pm UTC](https://forum.kirupa.com/t/image-jiggle/97456 "2003-12-22T17:47:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Kovax](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@Kovax](https://forum.kirupa.com/u/Kovax)
#### Post date: [December 22, 2003, 5:47pm UTC](https://forum.kirupa.com/t/image-jiggle/97456/1 "2003-12-22T17:47:27Z")

</div>

Hi all,

I am easing a bitmap from one location to another using this function:

function easeX(endX, speed)  
{  
this.onEnterFrame = function()  
{  
this.\_x += (endX-this.\_x)/speed;  
}  
}

However, as the bitmap nears its end location it jiggles back and forth before coming to rest. Any ideas?

Thanks.
