Xml & flash problems

yes I’m having another problem with the XML and Flash menu I was working on. First here is the code

function showdrop(pParam){
if (pParam == “ORG”) { org_mc.gotoAndPlay(2); }
}

function CreateMenu(menu_xml){
var items = menu_xml.firstChild.firstChild.childNodes;
for (var i=0; i<items.length; i++) {
var dept = items*.firstChild;
var position = items*.childNodes[1];
var rolls = items*.childNodes[2];
var item_mc = menu_mc.attachMovie(“menu_item”,“item”+item_count, item_count);
lanswer = position.firstChild.nodeValue * 1;
item_mc._x = lanswer;
item_count++;
item_mc.heading_txt.text = dept.firstChild.nodeValue;
item_mc.main_btn.onRollOver = function() {
showdrop(rolls.firstChild.nodeValue);
}
}
}

the showdrop function is called when a person rollsover a button in the menu, this works no problem. The problem is that every button seems to pass the same value where, obviously, they should each be adding unique values

if I change this line
item_mc.heading_txt.text = dept.firstChild.nodeValue;
to this
item_mc.heading_txt.text = rolls.firstChild.nodeValue;

it shows me the values are coming in like they’re supposed to but for some reason, when I rollover the button it’s passing the value for the last button everytime

anyone any ideas? :h: