This is a way of doing it but it is just a quick demo. You can make it much smoother if you fine tune it a bit <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /> This way is super simple and without plugins. Took me about 2min.
Live Demo
https://dl.dropboxusercontent.com/u/100 ... index.html
Download CapX
https://dl.dropboxusercontent.com/u/100 ... ursor.capx
That looks very tempting, but it doesn't really stop the mouse but the sprite thats connected to it. I fear that with this, the player might "lose" the mouse cursor as the sprite wont budge unless its within the designated area. Also theres a speed problem that the sprite cant follow the cursor fast enough if you draw it to the side real quick, resulting that the sprite stops before the side.