# "Yugop-Like Menu" HELP!

**URL:** <https://forum.kirupa.com/t/yugop-like-menu-help/144858>\
**Category:** Uncategorized\
**Created:** [April 18, 2005, 1:30am UTC](https://forum.kirupa.com/t/yugop-like-menu-help/144858 "2005-04-18T01:30:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zig\_man](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zig\_man](https://forum.kirupa.com/u/zig_man)\
**Post date:** [April 18, 2005, 1:30am UTC](https://forum.kirupa.com/t/yugop-like-menu-help/144858/1 "2005-04-18T01:30:22Z")

</div>

Is there a way to make it so each Item (or Menu, such as “Home” or “News”) is linked to a different frame in the “\_root” of the flash file. I apoligize for this newbish question.

**There was a question about this before (search the forum for “Yugop”) but no body answered it.**

This is the script that the other person had so far, but still did not woek… could someone maybe make a suggestion why this did not work…

1st layer: (in the original -\> used to add the Menu Items)

```auto
 stop();
// add items to menu
ymenu_mc.addItem("01", {text:"Home", color:0xFF0000});
ymenu_mc.addItem("02", {text:"Cause", color:0x00FF00});
ymenu_mc.addItem("03", {text:"Effects", color:0xFFFF00});
ymenu_mc.addItem("04", {text:"Current Relief", color:0x0000FF});
ymenu_mc.addItem("05", {text:"Important System", color:0x0000FF});
ymenu_mc.addItem("06", {text:"System Analysis", color:0x0000FF});
ymenu_mc.addItem("07", {text:"System Reappropiation", color:0x0000FF});

```

2nd Layer: (used to identify the Items)

```auto
 
for(var all in ymenu_mc){
		if(ymenu_mc[all] instanceof MovieClip){
				trace(all+":"+ymenu_mc[all]);
		}
}
for(var all in bg_mc){
		if(bg_mc[all] instanceof MovieClip){
				trace(all+":"+bg_mc[all]);
		}
}
for(var all in item0_mc){
		if(item0_mc[all] instanceof MovieClip){
				trace(all+":"+item0_mc[all]);
		}
}
for(var all in updater_mc){
		if(updater_mc[all] instanceof MovieClip){
				trace(all+":"+updater_mc[all]);
		}
}
for(var all in textanim_mc){
		if(textanim_mc[all] instanceof MovieClip){
				trace(all+":"+textanim_mc[all]);
		}
}
for(var all in ymenuitem_mc){
		if(ymenuitem_mc[all] instanceof MovieClip){
				trace(all+":"+ymenuitem_mc[all]);
		}
}

```

3rd Layer: (to load a Movie)

```auto
 
ymenu_mc.item0_mc.onRelease = function() {
 this.sidemenu.unloadMovie();
 this.mainpage.unloadMovie();
 this.sidemenu.loadMovie("menu 001.swf");
}
 

```
