Hi all!
I was just wondering what I have to ad to this as to make the menu stop when someone drags over it… and the start again when they roll out?!
onClipEvent (load){
xcenter=500;
speed=1/100;
}
onClipEvent (enterFrame){
var distance=_root._xmouse-xcenter;
_x+=(distance*speed);
}
onClipEvent (enterFrame){
var distance=_root._xmouse-xcenter;
_x+=(distance*speed);
if (_x > 0) _x=-1875;
if (_x < -1875) _x=0;
}