# Prevent Multiple MouseEvents

**URL:** <https://forum.kirupa.com/t/prevent-multiple-mouseevents/284727>\
**Category:** flash\
**Created:** [March 23, 2009, 1:28am UTC](https://forum.kirupa.com/t/prevent-multiple-mouseevents/284727 "2009-03-23T01:28:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bortiquai](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@bortiquai](https://forum.kirupa.com/u/bortiquai)\
**Post date:** [March 23, 2009, 1:28am UTC](https://forum.kirupa.com/t/prevent-multiple-mouseevents/284727/1 "2009-03-23T01:28:55Z")

</div>

I made a very simple scrollBar using the MouseEvent.MOUSE\_DOWN event, which works fine. The problem is I have a few other obejcts that have MouseEvent.Mouse\_OVER events, and so if you are dragging the scroll bar, and then move it over one of the objects, the Mouse\_OVER event fires. Is there a way to prevent this?  
Thanks
