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