# MenuBar Component

**URL:** <https://forum.kirupa.com/t/menubar-component/176463>\
**Category:** Uncategorized\
**Created:** [January 24, 2006, 11:46am UTC](https://forum.kirupa.com/t/menubar-component/176463 "2006-01-24T11:46:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xenon\_Design](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/xenon_design/32/1735_2.png) [@Xenon\_Design](https://forum.kirupa.com/u/Xenon_Design)\
**Post date:** [January 24, 2006, 11:46am UTC](https://forum.kirupa.com/t/menubar-component/176463/1 "2006-01-24T11:46:44Z")

</div>

I have been looking for a tutorial to help me out for hours., I have sucessfully set up a menu that reads from a XML file. All I need is when you clcik ona menu item it goes to a certain frame.

I think I need an event listener but I dont know how to do this. Could some one whip up a script that will help me.

XML FILE

```auto

<menu>
<menu-title label="XeD"> 
        <menu-item label="Xenon Design" enabled="false" />
        <menu-item type="separator"/>
        <menu-item label="Home" instanceName="xedhome"/> 
        <menu-item label="Services" instanceName="xedservices"/> 
        <menu-item label="Clients" instanceName="xedclients"/> 
        <menu-item label="Contact" instanceName="xedcontact"/> 
        <menu-item label="Login" instanceName="xedlogin"/> 
        
    </menu-title>
</menu>

```

The above code works. I just need a event listener to work.

EDIT: I made a copy mistake with the CODE section…its now fine

Thanks,

Alex
