Xmouse outside flash

How do i obtain the xmouse value outside the flashmovie - or even outside the browser itself.

Check out this site - they do it:

It even works if you draw the area on to a secondary screen.

I want to do it - and i want it now - pls hlp.