Movieclip._Visible - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

MovieClip._visible

Availability
Flash Player 4.
Usage
my_mc._visible:Boolean
Description
Property; a Boolean value that indicates whether the movie clip specified by
Movie clips that are not visible (
button in a movie clip with
Example
The following example sets the
. The property is set to
myMC2_mc
instance cannot be clicked after the
myMC1_mc
myMC1_mc.onRelease = function() {
trace(this._name+"._visible = false");
this._visible = false;
};
myMC2_mc.onRelease = function() {
trace(this._name+"._alpha = 0");
this._alpha = 0;
};
See also
Button._visible,
592
Chapter 2: ActionScript Language Reference
property set to
_visible
set to
_visible
property for two movie clips called
_visible
for one instance, and
true
TextField._visible
) are disabled. For example, a
false
cannot be clicked.
false
false
property is set to
_visible
is visible.
my_mc
and
myMC1_mc
for the other. Notice that
.
false

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx

Table of Contents