XML based menu - Multiple Isntances (flash MX)

I must say, this website has helped me incredibly over the past few years.
The amount of incredibly helpful and intellegent people amazes me!

Now that the sucking up is done, i was wondering if someone could help me to figure out how to create multiple instances of the xml-based flash menu, as from the tutorial found here: http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm

so that i can get 5+ menus all based on the childNodes* of the xml file.

The xml file would be something like:


<?xml version="1.0"?> 
<menu name="MENU 1"> 
    <menu name="macromedia"> 
        <item name="flash" action="gotoURL" variables="http://www.macromedia.com/software/flash"/> 
        <item name="dreamweaver" action="gotoURL" variables="http://www.macromedia.com/software/dreamweaver"/> 
        <item name="fireworks" action="gotoURL" variables="http://www.macromedia.com/software/fireworks"/> 
    </menu>  
    <menu name="kirupa"> 
        <item name="home" action="gotoURL" variables="http://www.kirupa.com"/> 
        <item name="forums" action="gotoURL" variables="http://www.kirupaforum.com/forums/index.php"/> 
        <menu name="tutorials"> 
            <item name="actionscript" action="gotoURL" variables="http://www.kirupa.com/developer/actionscript/index.htm"/> 
            <item name="photoshop" action="gotoURL" variables="http://www.kirupa.com/photoshop/index.htm"/> 
            <item name="web" action="gotoURL" variables="http://www.kirupa.com/web/index.htm"/> 
        </menu> 
     </menu>
<menu name="MENU 2"> 
    <menu name="macromedia"> 
        <item name="flash" action="gotoURL" variables="http://www.macromedia.com/software/flash"/> 
        <item name="dreamweaver" action="gotoURL" variables="http://www.macromedia.com/software/dreamweaver"/> 
        <item name="fireworks" action="gotoURL" variables="http://www.macromedia.com/software/fireworks"/> 
    </menu>  
    <menu name="kirupa"> 
        <item name="home" action="gotoURL" variables="http://www.kirupa.com"/> 
        <item name="forums" action="gotoURL" variables="http://www.kirupaforum.com/forums/index.php"/> 
        <menu name="tutorials"> 
            <item name="actionscript" action="gotoURL" variables="http://www.kirupa.com/developer/actionscript/index.htm"/> 
            <item name="photoshop" action="gotoURL" variables="http://www.kirupa.com/photoshop/index.htm"/> 
            <item name="web" action="gotoURL" variables="http://www.kirupa.com/web/index.htm"/> 
        </menu> 
     </menu>
    
</menu>


so that I get 2 menus - one based on the node “MENU 1” and another based on the node “MENU 2”.

Ive tried a couple of things, but im not really up to scratch on my actionscripting. so Im wondering if any of you awesome, amazing and helpful people would care to help me out of this one.

ANY help is appreciated.
vinci_nz