Visible (Movieclip._Visible Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Example
The following example displays the URL of the image that is loaded into the
instance in the Output panel.
this.createEmptyMovieClip("image_mc", 1);
var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
trace("_url: "+target_mc._url);
};
var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip("http://www.helpexamples.com/flash/images/image1.jpg",
image_mc);

_visible (MovieClip._visible property)

public _visible :
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 Lite 2.0
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
_visible (Button._visible property)
522
ActionScript classes
Boolean
) are disabled. For example, a button in a movie clip
false
cannot be clicked.
false
property for two movie clips called
_visible
for one instance, and
true
false
property is set to
_visible
,
_visible (TextField._visible property)
image_mc
and
myMC1_mc
for the other. Notice that
.
false

Advertisement

Table of Contents
loading

Table of Contents