The error of the eye not moving was intentional, but since I got a complaint or two, I fixed that. I did not acually put in the watcher at first because there would be no example as to how it'd look in flash 8 while the user was creating it. This is designed for a rather n00bish flasher, so veterans, remember that. Anyway, enjoy!
- - -
***please reiew!***
READ:
This is a mini tuturial, hence it will only be a frame or so, to keep the size low so that dial up users shouldn't have a big problem with loading it. This is a tuturial for beginners, so learn what you can from it. The ActionScript will follow shortly after this.
- - -
Action Script:
For the watcher:
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse-
this._y, _root._xmouse-this._x);
myDegrees = Math.round((myRadians*180 /Math.PI));
_root.yChange = Math.round(_root._ymouse-
this._y);
_root.xChange = Math.round(_root._xmouse-
this._x);
_root.yMove = Math.round(_root.yChange/
20);
_root.xMove = Math.round(_root.xChange/
20);
this._rotation = myDegrees+90;
}
The cursor is in mini tuturial number 5, the cursor tuturial.
- - - -
Credits:
Andrea364: Cursor
Billy44: Images and instructions
Haley87: ActionScript and research
Soul-Eating-Reaper07: Color scheme and original info