mouse in the flash movie to anything that
your heart can desire.
(sorry for not including a picture, its kinda hard to show... just imagine the regular white mouse changed to something else.)
- Open a new flash movie
Step . 1
Draw any random shape that you would want
to ... in my movie 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
clicking 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 okay.
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
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
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
objects > movie > mouse > methods > hide
this should hide the mouse from your view
YOUR DONE! check your work by going to
control > test movie.
This post has been edited by capty99: 21 January 2005 - 12:10 AM