Working with moviePos... quick question... PLEASE HELP ASAP!

Okay, the deal is… I am making a scrolling navigation menu…
I have all the code set up… I used a sample code. I picked apart the code and found out everything except this…

WHAT IS… “Leftstop” and “Rightstop”???

Here is how it is used? -below-
(but what does it mean and what are the numbers representational of???)

center = 299;
moviePos = port_strip._x;
Leftstop = 500;
Rightstop = -550;

if ((_root._xmouse > 129) and (_root._xmouse < 570) and (_root._ymouse > 95) and (_root._ymouse < 217)) {
ScrollSpeed = (_root._xmouse - center) / 7;
moviePos = Math.round(moviePos - ScrollSpeed);
}
if (((_root._xmouse < 129) or (_root._xmouse > 570)) and ((_root._ymouse < 95) or (_root._ymouse > 217))) {
ScrollSpeed = 0;
moviePos = moviePos;
}
if (moviePos > Leftstop) {
moviePos = Leftstop;
}
if (moviePos < Rightstop) {
moviePos = Rightstop;
}
port_strip._x = moviePos;


Thanks! I appreciate the help… cause I need to finish this soon!!!

Cassie Schwartz
ducki518@aol.com

Hi,

if (moviePos > Leftstop) {
moviePos = Leftstop;
}
// if the movie position is bigger than the Left stop the movie position equals to the the left stop. So you’ve reached the further point to the left the movie can move.
if (moviePos < Rightstop) {
moviePos = Rightstop;
}
// if the movie position is bigger than the right stop the movie position equals to the the right stop. So you’ve reached the further point to the right the movie can move.

They are the margings between which the menu moves.

Hope it helps

Cheers

SHO