[thelist] actionscript question
Travis
tbrunn at pgmusic.com
Sun Apr 3 03:12:16 CDT 2005
Hi all,
I'm getting started learning actionscript, and am running into some
weirdness.
I want to load a movie into movieclip, and have the visibility of the clip
sent to none, until I need it later on. So, here's what my code looks
like...
createEmptyMovieClip("container", 1);
container._visible = false;
container.loadMovie("submovie.swf");
well, this works just fine - the movie loads the way you'd expect. However,
it immediately appears on the stage - seeming to ignore the _visible
property.
Curiously, if I set container._alpha = 10, this work as expected.
Can anyone tell me what I'm doing wrong? Does loadMovie automatically set
the visibility of a clip to true, and there is no way around this?
Thanks in advance for your help!
-travis
More information about the thelist
mailing list