Creating a custom cursor in Flash 8(beginner ) This tutorial will walk you through one of the simpler ways to create a custom cursor for your flash animations. Step 1: Draw a shape for the cursorStart by drawing the small object you wish to use as your custom cursor. This tutorial uses a very simple drawing of a magic wand - feel free to draw something else if you prefer.
|
onClipEvent (enterFrame) { |
The first line of code says when the movie enters this frame do whatever is between the opening { and closing } brackets. |
Mouse.hide(); |
This line of code hides the regular cursor |
setProperty ("_root.myWand", _x, _root._xmouse); |
These two lines of code attach the symbol so it will follow the user's mouse |
} |
This bracket closes the onClipEvent() function |
Choose Ctrl + Enter (win) or Cmd + Return (mac) to test your movie
Illustrator tutorials | Photoshop tutorials | InDesign Tutorials | Acrobat Tutorials | Dreamweaver Tutorials | Flash Tutorials
Home | About | Training | Calendar | Register | Tutorials | Freelance | Contact | F. A. Q | Become an ACE