|
|
 |
|
|
|
|
|
Follow the simple steps (Simplest tutorial)
1. Create desired shape or animation which will follow the mouse and group it as sprite (as shoen in Fig 1)
2. Click your Sprite, goto its script tab and enter script shown in Fig 2, or copy following and paste there.
onenterframe(){ _X=_root._xmouse; _Y=_root._ymouse; }
_X is current sprite x coordinates _Y is current sprite y coordinates
_root._xmouse is global mouse X position on the Movie _root._ymouse is global mouse Y position on the Movie
download resource file here http://www.swish-db.com/forum/files/file.php?f=458&c=7
I hope it helps. regards
|
|
|
|