Mouse outside of stage

Hi,

I’m developing a application which has a “drag” style mouse navigation. On MOUSE_DOWN the app takes the mouseY and on MOUSE_UP it is reset… I then have my enter_Frame event doing the math to create a “click drag” effect.

The problem is, if the users mouse leaves the stage whilst they have the mouse button held, let go of the button and then return to the stage, the MOUSE_UP event does not fire because the button was released outside of the flash application…

Is there a way I can detect if the users mouse leaves the stage area?