ufk
ufk

Reputation: 32094

flash cs4: how can i change mouse cursor as if i'm on a button?

I have some MovieClips that act like buttons, how can i do that when the user hovers on the movieclip, the mouse cursor will change to a hand or the default cursor when it hovers a button.

i don't want to create my own custom cursor, i want to use the default set of cursors that come with flash. thanks

using flash cs4, action script 3

Upvotes: 0

Views: 1543

Answers (1)

longstaff
longstaff

Reputation: 2051

the property you are after is:

myMovieClip.buttonMode = true; //Use hand
myMovieClip.buttonMode = false; //Dont use hand

see livedocs

Upvotes: 4

Related Questions