-
hiding a movie on load
Hi
I'm building a site in Flash MX 2004 which has a 'show/hide navigation panel ('nav.swf'). I'm loading it into Level 4 (the lower levels have the content), at the same time the rest of the site loads, but I want its initial state to be invisible. The code I've tried (on the level 0 timeline is:
loadMovieNum ("nav.swf", 4);
_level4._visible = false;
However, nav.swf is still briefly visible when it loads, before the _visible code kicks in to hide it. Is there a simple way of having something invisible immediately on load? As the navigation panel is not a self-contained MC but an swf, I can't give it an on ClipEvent (load) instruction.
Please help!
Chris
-
FK'n_dog
you cannot load and command the loaded content
to do something in the same split second,
why not write to the timeline of nav.swf - this._visible=0;
then show it from the _level0 timeline with - _level4._visible=1;
-
Great...just didn't think of that! It's ideal. Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|