Flash Player 6.
my_mc.useHandCursor:Boolean
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.
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);
}
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00001565.html