Código :
myMenu.onLoad = function() {
//trace(myMenu);
for (var i = 0; i<this.firstChild.childNodes.length; i++) {
btn = _root.attachMovie("componente_boton_v02", "boton"+i, _root.getNextHighestDepth());
btn._x = 100;
btn._y = 245+((btn._height-10)*i);
btn.texto.txt= this.firstChild.childNodes[i].attributes.name;
trace(btn.texto.txt);
btn.link = this.firstChild.childNodes[i].attributes.link;El caso es que en btn.texto.txt ya no se ve el texto (antes se veía 