Search tutorials
1]first make a cursor the resembles a mouse cursor on the stage
2] make it into a move clip and give it an instance name of mouse
3]open up the actions menu of the first frame and type in this code:
//hides mouse
Mouse.hide();
//makes our mouse movie clip follow our real cursor
mouse.onEnterFrame = function() {
mouse._x = _xmouse;
mouse._y = _ymouse;
}
i used notes to help explain the scripts
4] to smooth out the motion, try making the frame rate longer
5] there is also and easier way to do this
6] simply delete the last code u added and put in this one:
//makes mouse movie clip drag with cursor
mouse.startDrag("true")
//hides mouse
Mouse.hide();
ENJOY!
MR. FLASH
» Level Basic |
Added: 2006-12-01 Rating: 2.83 Votes: 12 |
» Author |
Mr. Flash |
» Download |
Download the files used in this tutorial. |
Download (0 kb) |
» Forums |
More help? Search our boards for quick answers! |