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
rolls over a button movie clip. If
You can change the
takes on the new cursor behavior. The
object.
Example
The following example sets the
and
. The property is set to
myMC2_mc
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);
}
is set to
, the pointing hand used for buttons is displayed when the mouse
true
useHandCursor
property at any time; the modified movie clip immediately
useHandCursor
useHandCursor
true
useHandCursor
is
, the arrow pointer is used instead.
false
property can be read out of a prototype
useHandCursor
property for two movie clips called
for one instance, and
is
. If
true
myMC1_mc
for the other instance.
false
MovieClip.useHandCursor
591
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers