# Reacting to MOUSE\_MOVE outside app's boundaries

**URL:** <https://forum.kirupa.com/t/reacting-to-mouse-move-outside-apps-boundaries/273000>\
**Category:** flash\
**Created:** [October 10, 2008, 3:47am UTC](https://forum.kirupa.com/t/reacting-to-mouse-move-outside-apps-boundaries/273000 "2008-10-10T03:47:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jontyc](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jontyc](https://forum.kirupa.com/u/jontyc)\
**Post date:** [October 10, 2008, 3:47am UTC](https://forum.kirupa.com/t/reacting-to-mouse-move-outside-apps-boundaries/273000/1 "2008-10-10T03:47:02Z")

</div>

I’m finding that when adding a MOUSE\_MOVE event handler at the root level of a script in the mxml file that mouse events aren’t generated when the mouse is moved outside the application area, even if the flash app still has the focus.

For example, a custom vertical scroll bar. Dragging the scroll bar is fine, but a small horizontal shift of the mouse, taking the cursor outside the flash app’s boundaries, will cease movement until the mouse is brought back in.

It doesn’t appear to work this way when adding the MOUSE\_MOVE event to the Stage when I tried it in Flash CS3.

Should I be prefixing the addEventListener with a different object?
