# How to make scroller stop when menu is active

**URL:** https://forum.kirupa.com/t/how-to-make-scroller-stop-when-menu-is-active/179517
**Category:** Uncategorized
**Created:** [February 20, 2006, 11:13pm UTC](https://forum.kirupa.com/t/how-to-make-scroller-stop-when-menu-is-active/179517 "2006-02-20T23:13:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jpdefkt](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@jpdefkt](https://forum.kirupa.com/u/jpdefkt)
#### Post date: [February 20, 2006, 11:13pm UTC](https://forum.kirupa.com/t/how-to-make-scroller-stop-when-menu-is-active/179517/1 "2006-02-20T23:13:14Z")

</div>

hi,

in my flash file i use a movieclip that scrolls images controlled by the mouse. there is a variable speed, and if it set to 0, the scroller is stopped.

so far it works fine.  
but i also have a dropdown menu which overlaps the scroll area when it is unfolded. and so, if i want to navigate, the images keep quickly scrolling around, which is rather annoying.  
the menu is inside a movie clip.

i think i’ll have to set the speed variable to 0 when the mouse rolls over the space that the menu occupies.

can you tell me if it works that way and how i have to actionscript that?

thanks a lot  
jo
