XML problems. Im going nuts! Help

Why wont the variable (this.link) from the xml get passed as nextSwf and go to the preloader? It traces fine :huh: And nextSwf is defined at the beginning and it loads.
Please help!


var speed = 2;
var easeMe = mx.transitions.easing.Strong.easeOut;
var nextSwf = "home.swf";
function tweenBox() {
var easeType = easeMe;
var beginboxY = box_mc._y;
var endboxY = ybox;
var time = speed;
var mc = box_mc;
var boxListener:Object = new Object();
boxListener.onMotionFinished = function() {
var mcListener:Object = new Object();
mcListener.onLoadInit = function(mtClip:MovieClip) {
mtClip.play();
};
mcListener.onLoadProgress = function(w, t) {
trace('progress: '+w+", "+t);
var w = mtClip.getBytesLoaded();
var t = mtClip.getBytesTotal();
percent_txt.text = Math.round((w/t)*100);
};
mcListener.onLoadError = function(mtClip:MovieClip, errorCode:String) {
trace('wtf');
};
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(mcListener);
mcLoader.loadClip(nextSwf, mtClip);
};
boxTween = new mx.transitions.Tween(mc, "_y", easeType, beginboxY, endboxY, time, true);
boxTween.addListener(boxListener);
}
ybox = 0;
tweenBox();
galleriesXML = new XML();
galleriesXML.ignoreWhite = true;
galleriesXML.onLoad = function(ok) {
if (ok) {
galleriesData = this.firstChild.childNodes;
for (i=0; i<galleriesData.length; i++) {
galleryBut = galleriesMenu.attachMovie('button', 'butgallery'+i, i);
numOfBtns* = "butgallery"+i;
galleryBut._y = (i*16)+18;
galleryBut.but_txt.text = galleriesData*.attributes.text;
galleryBut.link = galleriesData*.firstChild.firstChild;
galleryBut.onRelease = function() {
mtClip.unloadMovie();
ybox = 200;
nextSwf = (this.link);
trace(nextSwf);
tweenBox();
};
}
} else {
trace('error loading xml');
}
};
galleriesXML.load('menu.xml');