User Guide
MovieClip.useHandCursor 591
MovieClip.useHandCursor
Availability
Flash Player 6.
Usage
my_mc.useHandCursor:Boolean
Description
Property; a Boolean value that indicates whether the hand cursor (pointing hand) appears when
the mouse rolls over a movie clip. The default value of
useHandCursor is true. If
useHandCursor is set to true, the pointing hand used for buttons is displayed when the mouse
rolls over a button movie clip. If
useHandCursor is false, the arrow pointer is used instead.
You can change the
useHandCursor property at any time; the modified movie clip immediately
takes on the new cursor behavior. The
useHandCursor property can be read out of a prototype
object.
Example
The following example sets the useHandCursor property for two movie clips called myMC1_mc
and
myMC2_mc. The property is set to true for one instance, and false for the other instance.
Notice how both instances can still receive events.
myMC1_mc.onRelease = traceMC;
myMC2_mc.onRelease = traceMC;
myMC2_mc.useHandCursor = false;
function traceMC() {
trace("you clicked: "+this._name);
}