Xml starts to make me feel dizzy?

Hi good day

I got problems with this code when i try the button that i made it just take the last link attribute of my xml array instead of the differents link attribute that i have in the xml array.

could someone help me?

miXml = new XML();
miXml.ignoreWhite = true;
miXml.load(“data.xml”);
miXml.onLoad = init;
spacing = 200;
function init() {
for (i=0; i<=miXml.firstChild.childNodes.length-1; i++) {
info = miXml.firstChild.childNodes*;
_root.attachMovie(“blog”, “b1”+i, i+1000);
_root[“b1”+i]._x = 0+spacing*i;
_root[“b1”+i]._y = 30;
link = info.attributes.link;
fecha = info.attributes.fecha;
body = info.attributes.body;
_root[“b1”+i].fecha.text = fecha;
_root[“b1”+i].body.text = body;
_root[“b1”+i].link.text = link;
[color=SandyBrown]** _root[“b1”+i].onPress=function{
getURL(link,“target=_blank”);
}** [/color]
}
}

cheers
david c
MEXICO