Follow mouse command

thought i would just put this up, incase anyone ever wondered how it was done.
have you ever wanted the users mouse to change it’s look when they scroll over something on your site. example… golf site, mouse changes into a golf ball. or what not.

any how here it is, make a mc, give it a instance name of “follow”
then on the root timeline, which is the timeline you see when you load flash up.
layer 1 -->actions
layer 2 -->mc

here is the script for the actions.


then it should work just fine.
the Mouse.hide(); --> is what hides the mouse when you move over the top of the area you would like the mouse to change.

hope this helped anyone who ever wondered how it was done. i have included the fla if you would like to see or if i was not clear in one aspect or another.