Image Jiggle

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.