Sliding menu help

hi all,
i’m trying to do a sliding menu that is similiar to http://actionscript.org/tutorials/intermediate/Easing_Menu_System/index.shtml with a few modification. The source code they gave me is :
// on mc
onClipEvent (load) {
_x = 0;
_y = 0;
div = 5;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
// on button
onPress = value of endX/Y;

this code works by telling the mc to go to an exact point. what i’m trying to do is to have it to constanty scroll left or right (smoothly)onRollOver. does anybody have any suggestions?

tia,
t.