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

**URL:** <https://forum.kirupa.com/t/working-with-moviepos-quick-question-please-help-asap/12933>\
**Category:** Uncategorized\
**Created:** [February 6, 2003, 9:55am UTC](https://forum.kirupa.com/t/working-with-moviepos-quick-question-please-help-asap/12933 "2003-02-06T09:55:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ducki518](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@ducki518](https://forum.kirupa.com/u/ducki518)\
**Post date:** [February 6, 2003, 9:55am UTC](https://forum.kirupa.com/t/working-with-moviepos-quick-question-please-help-asap/12933/1 "2003-02-06T09:55:57Z")

</div>

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](mailto:ducki518@aol.com)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 6, 2003, 11:16am UTC](https://forum.kirupa.com/t/working-with-moviepos-quick-question-please-help-asap/12933/2 "2003-02-06T11:16:49Z")

</div>

Hi Cassie,  
hey, I have just read exactly the same Q at another forum somewhere !!!

The leftStop and rightStop is the limit of your scroll. Assuming your \_x is in the top left hand corner of your mc it will not go anyfurther the -550, or 500, to make the scroll go further ( or reduce its scope) just change those two co-ordinates to what you want

Hope that explains it

Cheers

SteveD
