Compare 2 preloaded mcs before proceeding?

Ive got a intro movie to my site. After the intro finishes, the Nav bar rolls in.

Im trying to configure it so the main site content has to preload first, before the nav bar rolls in. OR vice versa because the main content and intro are about the same size.

Ive set up 2 variables:

introDone = false
contentLoaded = false

at the end of the intro animation I change “introDone = true”
at the end of the content I change “contentLoaded = true”

at the end of the content loading timeline, Ive got a check to see if the intro is done, before loading up the navbar (mc0).

if (introDone == true) {
&nbsp &nbsp &nbsp &nbsp _root.mc0.gotoAndPlay(“play”);
&nbsp &nbsp &nbsp &nbsp } else {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp stop();
}

at the end of the intro is the same thing in reverse to check if the content is done. This seems logical to me, but doesnt work. I think I need a loop that continually checks one against the other, but I can’t seem to write one!

Thoughts.

avlisdivad

Insert one frame right after the one that contains the axn script, and put in the code gotoAndPlay(x) x being the frame number of the frame with the code in it.

Also, remove the else from the code so that it will continue normally to the next frame so it may loop. That should work.