Usehandcursor (Movieclip.usehandcursor Property); Visible (Movieclip._Visible Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

The MovieClipLoader class used in these examples requires Flash Player 7 or later. The
MovieClip.getNextHighestDepth()
or later. If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the

useHandCursor (MovieClip.useHandCursor property)

public useHandCursor : Boolean
A Boolean value that indicates whether the pointing hand (hand cursor) appears when the
mouse rolls over a movie clip. The default value of the
is set to
useHandCursor
rolls over a button movie clip. If
You can change the
useHandCursor
immediately uses the new cursor behavior. The
prototype object.
Availability: ActionScript 1.0; Flash Player 6
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);
};

_visible (MovieClip._visible property)

public _visible : Boolean
A Boolean value that indicates whether the movie clip is visible. Movie clips that are not
visible (
property set to
_visible
with
set to
_visible
Availability: ActionScript 1.0; Flash Player 4
method used in these examples requires Flash Player 7
MovieClip.getNextHighestDepth()
, the pointing hand used for buttons appears when the mouse
true
useHandCursor
property at any time; the modified movie clip
useHandCursor
true
) are disabled. For example, a button in a movie clip
false
cannot be clicked.
false
useHandCursor
is
, the arrow pointer is used instead.
false
useHandCursor
property for two movie clips called
for one instance, and
method.
property is
true
property can be read out of a
myMC1_mc
for the other instance.
false
MovieClip
. If
937

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF