What you could do is set the onEnterFrame handler to make the movieclip continuously move to the left when you rollOver the left button, and have it delete the onEnterFrame handler when you rollOut that button. Since they’re buttons, I’d suggest creating an auxiliary movieclip to use it’s onEnterFrame handler because I don’t know which you are already using or not. You can use another movieclips onEnterFrame handler if you want to, I’m just using an auxiliary movieclip here to be safe.
On the timeline your buttons are in:
this.createEmptyMovieClip("aux",786)
leftbutton.onRollOver = function(){
aux.onEnterFrame = function(){
this._parent.yourThingyYouWantToMove._x-=5;
}
}
rightbutton.onRollOver = function(){
aux.onEnterFrame = function(){
this._parent.yourThingyYouWantToMove._x+=5;
}
}
leftbutton.onRollOut = rightbutton.onRollOut = function(){
delete aux.onEnterFrame;
}