Is this possible? Thanks in advance!!!
//this is one of the code pieces I've been trying
scroll_menu.onEnterFrame = function() {
var speed=.5/100;
var xcenter=400;
var distance=_root._xmouse-xcenter;
_x+=(distance*speed);
if (_x > 0) _x=-1615;
if (_x < -1615) _x=0;
}
//this is the onClipEvent code
onClipEvent (load) {
xcenter=400;
speed=.5/100;
}
onClipEvent (enterFrame) {
var distance=_root._xmouse-xcenter;
_x+=(distance*speed);
if (_x > 0) _x=-1615;
if (_x < -1615) _x=0;
}