for each(var item:XMLNode in listx.firstChild.childNodes){ i++; trace(i,item.attributes.label, item.nodeValue); }