This will change the cursor to a hand.
on mouseWithin
cursor 280
end
This will change it back to the arrow when you rollout of the sprite.
on mouseLeave
cursor -1
end
280 is a number designated for the hand. There are other numbers for the other built-in cursors. You need to look those up. Or for a custom cursor, replace the number with the cursor name.
To make a custom cursor. You go to Insert<Media Element<Cursor. This will bring up the dialog to create a cursor. I believe it takes only .gif files for this.
Once you have done this make write this in a behavoir script
for your sprite on rollover to change the cursor.
on mouseWithin
cursor member "x"
end
x being the name of your custom cursor
then of course to bring it back to the arrow cursor on rollout put:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.