I am working on a site that doesn’t have a traditional homepage. Instead, after the preloader, the user is presented with a 4 button menu (one for each section), when the user selects one of the options, everything fades out and the standard user interface fades in, then the section movie loads.
The 4 button menu and the main menu on the standard ui are the same mc, and if the user selects ‘about’ from the first, ‘about’ is highlighted in the standard. Once the user selects one of the 4 buttons, the user can’t go back.
The 4 button is located on frame 23, and the standard ui is at 62, between the two is the fade out/in main timeline animation.
FRAME 23
// Tried but breaks if I add more than one button, where it will jump back to frame 23
if ( _root.currMovie = "about") {
initNav = about;
_root.gotoAndPlay("play");
}
// Standard UI
if (_root.currMovie == undefined) {
_root.currMovie = "about";
_root.center.loadMovie("about.swf");
} else if (_root.currMovie != "about") {
if (_root.center._currentframe>=_root.center.midframe) {
_root.currMovie = "about";
_root.center.play();
}
}
FRAME 62
stop();
if(initNav = about) {
_root.center.loadMovie("about.swf");
}