Actually if they leave the swf, the "real" mouse should still be at the edge where they left, leaving them vulnerable to enemies and such. The really cheat is when they come back in on the opposite side of swf, and the mouse "snaps" to that location. How I would do it is use easing of the "real" mouse to the mouse coordinates, so that there's no snapping.