Dynamic mc's with dynamic links

Ok, I’m making a playlist generator and I’m pulling the info from an
xml. I have everything functioning except the links are not working.
I’ve tried numerous things with out a solution found.

here is the current code without pulling anything from the link[] array:


function loadXML(loaded) {
	if (loaded) {
		xmlNode = this.firstChild;
		link = [];
		cover = [];
		total = xmlNode.childNodes.length;
		for (i=0; i<total; i++) {
			link* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
			cover* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
			_root.createEmptyMovieClip("covers"+i, i);
			cover_mc = _root["covers"+i];
			cover_mc.loadMovie(_root.cover*);
			cover_mc._x = 86*i;
			cover_mc._y = 0;
			_root.createEmptyMovieClip("mirror"+i, i+5);
			mirror_mc = _root["mirror"+i];
			mirror_mc.loadMovie(_root.cover*);
			mirror_mc._x = 86*i;
			mirror_mc._y = 168;
			mirror_mc._yscale = -100;
			gradient_mc._x = 86*i;
			gradient_mc._y = 168;
			gradient_mc.duplicateMovieClip("gradient"+i, i+10);
		}
	} else {
		content = "file not loaded!";
	}
}

xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("playlist.xml");

any help would be appreciated.

thanks,
saveth