Transitions & Containers

Hi all,

Ok this is a little difficult to explain but here goes. Using the transition tutorial I have a root.swf that when clicked pulls in other swfs as buttons and also plays a tranistion effect (alpha fade in, alpha fade out). My problem is that this site is quite complicated, resulting in me have to break the navigation into sub sections. The Root.swf contains 6 buttons, they inturn call up between two and seven sub buttons when clicked, and on top of that one of those sub buttons has seven other buttons that it call up. Look at firstborn for a similar navigation system. I can get them to load properly without problem. But when i click back on one of the root.swf button while some sub buttons are loaded the sub buttons wont fade out for me.

Root.swf on release code:

// This section is the transition effect.
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “Mov2”;
_root.container2.loadMovie(“Mov2.swf”);
} else if (_root.currMovie != “Mov2”) {
if (_root.container2._currentframe>=_root.container2.midframe) {
_root.currMovie = “Mov2”;
//LEVEL 2*
//Mov1
_root.container2.Mov11.play();
//Mov3
_root.container2.Mov31.play();
_root.container2.Mov32.play();
_root.container2.Mov33.play();
_root.container2.Mov34.play();
_root.container2.Mov35.play();
_root.container2.Mov36.play();
_root.container2.Mov37.play();
}
}
}

This is the sub navtigation Level two code:
on (release) {
if (_root.currMovie2 == undefined) {
_root.currMovie2 = “Mov22”;
_root.container3.loadMovie(“Mov22.swf”);
} else if (_root.currMovie2 != “Mov22”) {
if (_root.container3._currentframe>=_root.container3.midframe) {
_root.currMovie2 = “Mov22”;
//
_root.container3.Mov21a.play();
_root.container3.Mov21b.play();
_root.container3.Mov21c.play();
_root.container3.Mov21d.play();
_root.container3.Mov21e.play();
_root.container3.Mov21f.play();
_root.container3.Mov21g.play();
_root.container3.Mov21h.play();
_root.container3.Mov21i.play();
}
}
}

Now I what to be able to have as many sub navs as I want: My suspiciton is that it has something to do with currMovie variable. If I dont introduce the currMovie2 variable then the sub nav doesn’t load full stop. Now it won’t unload. I could use the _root.container3.unloadMovie function but then i lose my fade out effect.

ANy ideas or are you all confused?

Cheers