This is a Premium Blog

Mouse Cursor Appearance

Written on June 6, 2007 by admin

This tutorial will change the look of the mouse in the flash movie to anything that your heart can desire.

Step 1
Draw any random shape that you would want to.

I just drew a green normal mouse shaped thing but your object could be shaped however you want it.

Step 2
Convert this image to a symbol by double licking on the image itself and going to insert > convert to symbol
Name : mouse
Behavior : movie clip
make sure you type in the name as “mouse” and that the movie clip behavior is selected, and then press ok.

Step 3
Set the instance name for this symbol to match the movie clip name as “mouse”. In flash 5 and before you right click and go to instance to change the instance name)

Step 4
The actions…
In the first frame of this movie right click > actions. this brings up the actions palette which makes everything in this movie works.
On the left handbar select
Actions > Movie Clip Control > startDrag
This code will tell the movie that when it opens it should start the drag of an object… you want to define which object that is so after selecting the start drag action you have the option to input a target and the target is “mouse”. the name of your instance, and movie clip. you also want to select “lock to center” as an option for the drag.

Step 5
if you were to play the movie right now your image would be there locked to the mouse but your mouse would also show on
the screen. To hide the mouse from your view you need to add one more action select objects > movie > mouse > methods > hide
This should hide the mouse from your view

YOUR DONE! check your work by going to
control > test movie.

If you enjoyed this post Subscribe to our feed

Leave a Reply