Linking - I can't make it work

I’ve been working on our new website, and in our portfolio I want image, text and a link button. It all works except from the link.

When I press the link button it links to the last item - even though item 2 ( out of 3 ) is pressed.

It’s votes thumbnail scroller thing - but I’ve had the problem with linking several times, in other projects too.

My AS looks like:
[AS]MovieClip.prototype.easeX = function(x) {
this.onEnterFrame = function() {
this._x = Math.ceil(x-(x-this._x)/1.35);
if (Math.abs(x-this._x)<=1) {
delete this.onEnterFrame;
this._x = Math.ceil(x);
}
};
};
images = new Array();
xml_file = “projekter.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* = {path:curNode.childNodes[0].firstChild.nodeValue, link:curNode.childNodes[1].firstChild.nodeValue, firmaNavn:curNode.childNodes[2].firstChild.nodeValue, imgText:curNode.childNodes[3].firstChild.nodeValue, siteLink:curNode.childNodes[4].firstChild.nodeValue};
}
boot();
} else {
trace(“Could not load “+xml_file+”.”);
}
};
xmlload.load(xml_file);
// ------------------------------------------------------------
spacing = 100;
boot = function () {
for (var i = 0; i<images.length; i++) {
mc = container.attachMovie(“thumbMC”, “thumb”+i, i);
mc._x = i*(60+spacing);
mc.path = images*.path;
mc.link = images*.link;
mc.firmaNavn = images*.firmaNavn;
mc.finalText = images*.imgText;
mc.siteLink = images*.siteLink;
_parent.picture.loadMovie(images[0].link);
_parent.firmaNavn_txt.text = images[0].firmaNavn;
_parent.imageText.text = images[0].imgText;
_parent.siteLink_txt.text = images[0].siteLink;
var linkSite = images*.siteLink;
}
linkBtn.onPress = function() {
getURL(linkSite);
};
setRollOver();
};
setRollOver = function () {
this.onEnterFrame = function() {
if (this.mask.hitTest(_root._xmouse, _root._ymouse)) {
slideMenu();
}
};
};
slideMenu = function () {
diff = _root._xmouse-this._x;
scale = diff100/this.mask._width;
target = -scale
(this.container._width-this.mask._width)/100;
this.container.easeX(target);
};[/AS]

If anybody could help, I would really appreciate it, because it’s the last thing I need before that section is done.

Thanks, Morten