/ Published in: ActionScript
how to show or hide a movieclip, using either the "_visible" or "_alpha" properties. the movieclip needs to have an instance name. in these examples it is called "stupidmovieclip"
Expand |
Embed | Plain Text
// show/hide a movieclip - use either method, but dinnae mix the two // ie. if you hide a clip using its "_visible" property then show it // again with its "_visible" not its "_alpha" property [and vice versa] // show using visible this.stupidmovieclip._visible = true; // show using alpha this.stupidmovieclip._alpha = 100; // hide using visible this.stupidmovieclip._visible = false; // hide using alpha this.stupidmovieclip._alpha = 0;
You need to login to post a comment.
