# Menu loads standard ui

**URL:** <https://forum.kirupa.com/t/menu-loads-standard-ui/254225>\
**Category:** Uncategorized\
**Created:** [March 9, 2008, 10:35pm UTC](https://forum.kirupa.com/t/menu-loads-standard-ui/254225 "2008-03-09T22:35:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![squarepiece](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@squarepiece](https://forum.kirupa.com/u/squarepiece)\
**Post date:** [March 9, 2008, 10:35pm UTC](https://forum.kirupa.com/t/menu-loads-standard-ui/254225/1 "2008-03-09T22:35:47Z")

</div>

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.

```auto

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();
		}
	}

```

```auto

FRAME 62

stop();

if(initNav = about) {
	_root.center.loadMovie("about.swf");
} 

```
