# Detecting clicks OUTSIDE of the swf

**URL:** <https://forum.kirupa.com/t/detecting-clicks-outside-of-the-swf/242638>\
**Category:** Uncategorized\
**Created:** [October 28, 2007, 11:12pm UTC](https://forum.kirupa.com/t/detecting-clicks-outside-of-the-swf/242638 "2007-10-28T23:12:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jazgold](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jazgold](https://forum.kirupa.com/u/jazgold)\
**Post date:** [October 28, 2007, 11:12pm UTC](https://forum.kirupa.com/t/detecting-clicks-outside-of-the-swf/242638/1 "2007-10-28T23:12:21Z")

</div>

is there any way for flash to register mouse events that happen outside of the swfs display area… or even outside of the browser window.

i have an RIA that would be much improved if i could tell that the user released the mouse after having dragged outside of the swf. as of now, if the user presses inside the swf (to drag something) and then releases outside the swf, the item is still being dragged when they reenter the swfs boundaries.

i could have an interval _constantly_ checking if the mouse is down, but i was hoping not to need a constant loop running as it slows things down.

thanks homeys
