flash visibility help
flash visibility help
Out of context: Reply #9
- Started
- Last post
- 9 Responses
- jkosoy0
changing the alpha is nice and recommended for a fade.
HOWEVER, flash is still going to draw an object on the screen with an alpha of 0...it'll just be completely transparent. the user won't think twice of it, but you're wasting the processor that way.
movieClip._visible = false;
movieClip.enabled = false;will make a movieclip invisible. it will also make it so that if there are mouse commands (such as onRelease) applied to that movieclip, they are not enabled.
movieClip._visible = true;
movieClip.enabled = true;would re-enable your movieclip.
this is generally considered better practice. i think. :)