Dynamic movieclip problem


images = new Array();
xml_file = "../xml/gallerijen.xml";

xmlload = new XML();
xmlload.ignoreWhite = true;
xmlload.onLoad = function(ok) {
	if (ok) {
		count = this.firstChild.childNodes.length;
		for (var i = 0; i<count; i++) {
			curNode = this.firstChild.childNodes*;
			images* = {name:curNode.childNodes[0].firstChild.nodeValue,description:curNode.childNodes[1].firstChild.nodeValue,linkimg:curNode.childNodes[2].firstChild.nodeValue,date:curNode.childNodes[3].firstChild.nodeValue,id:curNode.childNodes[4].firstChild.nodeValue};
		}
		boot();
		
	} else {
		trace("Could not load "+xml_file+".");
	}
	

};
xmlload.load(xml_file);

boot = function () {
	spacing = 15;
	for (var i = 0; i<images.length; i++) {
		thumbke = "thumb"+i;
		container.attachMovie("thumbMC", "thumb"+i, i);
	
		container["thumb"+i].loadMovie(images*.linkimg);
		loadMovie(images*.linkimg, container["thumb"+i]);
		
		container["thumb"+i]._x = i*(55+spacing);
		container["thumb"+i]._y = 15;
[COLOR=Red]		container["thumb"+i].onRelease = function(){
			trace("ok");
		}[/COLOR]
			
	}

Everything of this dynamic navigation works perfect. But he doesn’t want to do the “onRelease”. I don’t get a hand cursor It simply doesn’t work.

below is the xml file. the fla is also included.

Please check it out


<?xml version="1.0" encoding="iso-8859-1"?>
<gallijst>
<gal>
<name>1991 till 1993</name>
<description>alright</description>
<linkimg>../images/20041206205315.jpg</linkimg>
<date>20041206205315</date>
<id>1</id>
</gal>
<gal>
<name>1994 till 1995</name>
<description>alright</description>
<linkimg>../images/20041206205315.jpg</linkimg>
<date>20041206205315</date>
<id>2</id>
</gal>
<gal>
<name>1997 till 1999</name>
<description>alright</description>
<linkimg>../images/20041206205315.jpg</linkimg>
<date>20041206205315</date>
<id>3</id>
</gal>
<gal>
<name>1997 till 1999</name>
<description>alright</description>
<linkimg>../images/20041206205315.jpg</linkimg>
<date>20041206205315</date>
<id>3</id>
</gal>
<gal>
<name>1997 till 1999</name>
<description>alright</description>
<linkimg>../images/20041206205315.jpg</linkimg>
<date>20041206205315</date>
<id>3</id>
</gal>
</gallijst>