<image><colors> red1, blue1 </colors></image>
colorlist1.addItem({cname:myImages[number].childNodes[3].firstChild, label:cname});
function combobox(number) { _root.mycolors = myImages[number].childNodes[3].firstChild; _root.mysizes = myImages[number].childNodes[4].firstChild; colorsplit = mycolors.nodeValue; trace(colorsplit.split(",")); trace(colorsplit); //add colors into combo box colorlist1.addItem({cname:colorsplit.split(",",2).join("/n"),label:cname}); }