Hey,
I got a bit of a problem with my latest site.
I’m using an Xml file to read a bunch of variables and build the site accordingly.
In one of the sections I load a gallery of images(the thumbnails) into the page, after which you should be able to click the thumbs to open up the big versions.
The images load and are placed perfectly.
However, I can’t click em.
I added the code so you guys and gals can take a look at it for yourselves.
for(var o=0; o<xmldoc.firstChild.childNodes[2].childNodes[chapter].childNodes.length; o++){
for(var q=0; q<xmldoc.firstChild.childNodes[2].childNodes[chapter].childNodes[o].childNodes.length; q++){
createEmptyMovieClip(o+“image”+q,(o+1)*100+q)
//there’s some positioning code here.
Image = “Images/”+xmldoc.firstChild.childNodes[2].childNodes[chapter].childNodes[o].childNodes[q].attributes.name+".jpg"
loadMovie(Image,this[o+“image”+q])
//I think the problem is down here
this[o+“image”+q].onEnterFrame = function() {
loaded = this.getBytesLoaded();
total = this.getBytesTotal();
if (loaded>0 and loaded == total) {
this.onRelease = function() {
getURL(“big/”+xmldoc.firstChild.childNodes[2].childNodes[chapter].childNodes[o].childNodes[q].attributes.link+".jpg", _blank);
};
this.onEnterFrame = null;
}
};
Any ideas on how to make the thumbs clickable?
I’m really annoyed with this one …

