How to set mouse cursor as hand when it is over a movie clip?
As开发者_StackOverflow question title says, I need to know how to set the mouse cursor to be a hand when it is over a mouse clip. I'm using Flash with Action Script 3.
myClip.buttonMode = true;
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Sprite.html#buttonMode
It is a following code.
sprite.useHandCursor = true;
mc.buttonMode = true;
mc.useHandCursor = true;
mc.tabEnabled = false;
If you skip last line your mc will be selectable with Tab button and will have ugly yellow border
精彩评论