Ease movie clip

Hi,

I have a movieClip that moves left or right on mouseOver buttons.

The problem is, I want the movieClip to stop with an ease.

Below is the script on the button:

on (rollOver) {
_global.direction = “forward”;
}
on (rollOut) {
_global.direction = “stop”;
}