tengo problemas con este ejemplo de un menu que rota, quiero que brienque a determinadas escenas, pero no hace nada alquien podria decirme que estoy haciendo mal



onClipEvent (load) {
nScreenWidth = 450;
nMaxRate = 15;
// nPixels determines the speed of the slider movement
function moveLeft(nPixels) {
this._x -= nPixels;
if (this._x<0-nScreenWidth) {
this._x = 0;
}
}
function moveRight(nPixels) {
this._x += nPixels;
if (this._x>0) {
this._x = 0-nScreenWidth;
}
}
}
onClipEvent (enterFrame) {
// move slider with speed dependent on mouse position
if (_root._xmouse<nScreenWidth/2 && _root._xmouse>0) {
moveRight(nMaxRate-_root._xmouse*nMaxRate/(nScreenWidth/2));
} else {
if (_root._xmouse>nScreenWidth/2 && _root._xmouse<nScreenWidth) {
moveLeft(_root._xmouse*nMaxRate/(nScreenWidth/2)-nMaxRate);
}
}
}