# ROLL\_OUT and MOUSE\_OUT triggering incorrectly

**URL:** <https://forum.kirupa.com/t/roll-out-and-mouse-out-triggering-incorrectly/283526>\
**Category:** flash\
**Created:** [March 7, 2009, 2:12pm UTC](https://forum.kirupa.com/t/roll-out-and-mouse-out-triggering-incorrectly/283526 "2009-03-07T14:12:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan0](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Post date:** [March 7, 2009, 2:12pm UTC](https://forum.kirupa.com/t/roll-out-and-mouse-out-triggering-incorrectly/283526/1 "2009-03-07T14:12:42Z")

</div>

Hey!  
I am having a rather annoying problem!! Basically my code is triggering the event when it definitely should not be…  
Here is my layout:

Node container - holds all my Sprites and has a MOUSE\_OVER (\<works fine) and a MOUSE\_OUT / ROLL\_OUT (\<neither of which work)

Sprites in Node container - contain text + images but have a Shape hitbox on the top layer meaning there should be no confusion!

Basically, I check to see if anything rolls over my node container with MOUSE\_OVER which triggers correctly and allows me to target which sprite the user has rolled over.  
However, when you move the mouse over the sprites (but not outside!) if constantly triggers my MOUSE\_OUT and ROLL\_OUT events, it makes no difference which one I use…  
This is is really frustrating and I can not think of even an ugly work around in my code to solve this, it would be nice to fix it and add it to my knowledge later.

EDIT : Actually the MOUSE\_OVER triggers as soon as the OUT event has triggered incorrectly.

Thanks for reading/understand and helping,  
Dan ^,^

EDIT 2 : AHH!! I Found the cause of the problem!!!  
Basically I have a custom cursor and this is the root of the problem, it thinks I am rolling over the cursor and then out constantly… OK so how can I Ignore my mouse cursor image? So it doesn’t think I am rolling out all the time…?

Thanks again…  
Dan

EDIT 3 : FIXED 🙂

mouseEnabled = false;  
mouseChildren = false;

Thanks for the help kirupa… gets my brain juices flowing… slowly but surely…
