Ребята спасибо за помощь, конечно, но все равно, ни чего не получается.

Код:
while (xmel != null) {
nme = xmel.nodeName;
if (nme != null) {
if (nme == "m") {
for (var i=0;i<xmel;i++) {
var message:MovieClip = this.attachMovie("mc","mc"+i,this.getNextHighestDepth());
var j:Number = i-1
message._y = ["mc"+j]._y+["mc"+j]._height
}
//Так было
/*attachMovie("mc","mc"+y,100+y);
this["mc"+y]._y = y*100*/
for (attr in xmel.attributes) {
str = xmel.attributes[attr];
if (attr == "nik") {
this["mc"+y].nik = str;
}
if (attr == "texta") {
this["mc"+y].texta = str;
}
if (attr == "texta2") {
this["mc"+y].texta2 = str;
}
if (attr == "texta3") {
this["mc"+y].texta3 = str;
}
}
y++;
}
}
if (xmel.firstChild != null) {
xmel = xmel.firstChild;
} else {
if (xmel.nextSibling != null) {
xmel = xmel.nextSibling;
} else {
xmel = xmel.parentNode;
xmel = xmel.nextSibling;
}
}
}
Возможно, глупость написал, поправьте если что
