View Full Version : Mouse position refresh rate

07-03-2004, 08:36 PM
I control the cursor image by replacing the mouse default cursor by a movie clip whose position is set as the properties _xmouse and _ymouse. My problem is when the cursor gets out too fast of the movie the properties _xmouse and _ymouse frooze at the previous values before going out of the movie. I know with flash MX there is a way to know the global position of the cursor with swWeaver. Does someone know how to have the position of the cursor globally on the computer screen or how to improve the rate at which _xmouse and _ymouse are refreshed?


07-06-2004, 05:22 AM
Hi there,
I think that this is what you are after:
Create a movie clip, place this script on it:

onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;

and then place "Mouse.hide();" on the first frame of the movie, this should help out.