# \_xmouse & \_ymouse for screen OUTSIDE of swf? Possible?

**URL:** <https://forum.kirupa.com/t/-xmouse--ymouse-for-screen-outside-of-swf-possible/217829>\
**Category:** flash\
**Created:** [March 2, 2007, 7:05am UTC](https://forum.kirupa.com/t/-xmouse--ymouse-for-screen-outside-of-swf-possible/217829 "2007-03-02T07:05:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Head\_In\_A\_Pan](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@Head\_In\_A\_Pan](https://forum.kirupa.com/u/Head_In_A_Pan)\
**Post date:** [March 2, 2007, 7:05am UTC](https://forum.kirupa.com/t/-xmouse--ymouse-for-screen-outside-of-swf-possible/217829/1 "2007-03-02T07:05:36Z")

</div>

I’ve been fooling around with both a java & a flash xy mouse tracker…

Can flash/swf detect the mouse x & y coordinates OUTSIDE of the swf?  
My problem is that as soon as I roll out of the swf borders it stops working.  
So I guess I want to know how to track the x&y coords for the monitor/screen instead of tracking the xy for the swf.

Seems tricky - what method is best?  
Any suggestions?
