# Mouse event ROLL\_OVER and ROLL\_OUT clash

**URL:** <https://forum.kirupa.com/t/mouse-event-roll-over-and-roll-out-clash/320434>\
**Category:** flash\
**Created:** [March 23, 2011, 12:06pm UTC](https://forum.kirupa.com/t/mouse-event-roll-over-and-roll-out-clash/320434 "2011-03-23T12:06:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KBasak](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@KBasak](https://forum.kirupa.com/u/KBasak)\
**Post date:** [March 23, 2011, 12:06pm UTC](https://forum.kirupa.com/t/mouse-event-roll-over-and-roll-out-clash/320434/1 "2011-03-23T12:06:26Z")

</div>

Hi,

I have a little complicated set of ROLL\_OVER and ROLL\_OUT event handlers which are getting clashed.

I have following movieclip symbols on the stage:  
\*Background  
Bounds (child of Background)  
Design (child of Background)  
Circle1 (child of Background)  
Circle2 (child of Background) \*

Design and Circle1 should get displayed when the mouse rolls over Bounds.  
Similarly, Circle2 should get displayed when the mouse rolls over Circle1.  
Circle1 and Circle2 are concentric and Circle2 is bigger.

Now, the problem is that, when the mouse cursor is rolled over on the common area of the two circles, the event handlers (ROLL\_OVER as well as ROLL\_OUT) of Bounds and Circle2 get called continuously.

I tried to get rid of the event handlers for Bounds under the ROLL\_OVER event handler of Circle2 by using removeEventListener() but to no avail.

Any hints?  
Thanks.
