Help with Arrays!

Okay this is what I am after. I have created a movie clip that has a dynamic text box in it with the instance name of ‘news_txt’ I have set the Movie Clip linkage identifer to ‘newsItem’. What I am looking for is to have this movie clip be replicated depending on how many news items are in my xml doc.


function loadXML(success) {
	if (success) {
		xmlNode = this.firstChild.childNodes;
		header = [];
		desc = [];
		total = xmlNode.childNodes.length;
		for (i=0; i<total; i++) {
			date* = xmlNode.childNodes*.childNodes[0].attributes.date;
			desc* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
		}
	}
}
var news_xml = new XML();
news_xml.ignoreWhite = true;
news_xml.onLoad = loadXML;
news_xml.load("news.xml");

That is my AS but i have no idea how to work with Arrays! any help would rock!