Little prob with infinite menu

heey guys
followed the infinite menu tute, and with some help
from you guys, i made a beauty of a menu.
it scrools to the left realy nice, and you don’t see any
break when he “starts over” it’s just one nice circle

the problem starts when i want to scroll to the images
to right. He just won’t do that. it scrolls till the begin of the movie clip wich, and then stops.

what’s the prob?
this is the actionscript:

onClipEvent (load) {
xcenter = 292.5;
speed = 1/10;
}
onClipEvent (enterFrame) {
var distance = _root._xmouse-xcenter;
_x += (distance*speed);
if (_x>0) {
_x = -1543.6;
}
if (_x<-1543.6) {
_x = 0;
}
}

can somebody help me plzzz

What do you mean by “i want to scroll to the images to right” exactly? I don’t understand :-\

pom :slight_smile:

I think that with “I want to scroll the images to the right” he means he wants to scroll the images to the right but he can’t cuz it stops…
I can’t seem to find the problem… :-\

btw make the menu move the opposite direction
_x += (distancespeed)-1;
like this.
More comfortable