# MOUSE\_LEAVE not working when MOUSE\_DOWN is active

**URL:** <https://forum.kirupa.com/t/mouse-leave-not-working-when-mouse-down-is-active/310788>\
**Category:** flash\
**Created:** [June 19, 2010, 9:02am UTC](https://forum.kirupa.com/t/mouse-leave-not-working-when-mouse-down-is-active/310788 "2010-06-19T09:02:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![humbucker](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Post date:** [June 19, 2010, 9:02am UTC](https://forum.kirupa.com/t/mouse-leave-not-working-when-mouse-down-is-active/310788/1 "2010-06-19T09:02:51Z")

</div>

Hi guys,

I need to stop a function when I’m out of stage, so I used the MOUSE\_LEAVE, but I still have problems with it.

Let me explain, I’m draging MC on stage with the MOUSE\_DOWN event, well, it seems I’m obliged to first stop clicking on my click for the MOUSE\_LEAVE to be fired…

Any reason?

I really need to be able to stop the function even if the user is still clicking/dragging the element out of stage.

Thanks!!
