This xml menu is less for the purpose of using than learning xml applications. Have a look at the menu and then at the script.
Script
//Loading the xml file
menuXML = new XML ();
menuXML.load("menu.xml");
menuXML.ignoreWhite = true;
menuXML.onLoad = function (success){
if (success){
//accessing the important parts step by step
menuItem = menuXML.firstChild.firstChild;
myDesign = menuItem.firstChild.attributes['name'];
myUrl = menuItem.firstChild.attributes['action'];
myConsult = menuItem.firstChild.nextSibling.attributes['name'];
myMovie = menuItem.firstChild.nextSibling.attributes['action'];
myContact = menuItem.lastChild.attributes['name'];
myMail = menuItem.lastChild.attributes['action'];
//filling the textfields
linkText.htmlText = "<A HREF=\""+myUrl+"\">"+myDesign+"</A>";
movieText.htmlText = "<A HREF=\"asfunction:showMovie,"+myMovie+"\">"+myConsult+"</A>";
mailText.htmlText = "<A HREF=\"mailto:"+myMail+"\">"+myContact+"</A>";
}
}
//this is the asfunction
function showMovie(thisMovie){
movieLoader.loadMovie(thisMovie);
}