Riepilogo, per vedere se ci siamo capiti:
1) Quello che hai postato è il codice contenuto nel Movieclip, chiamiamolo così, secondario
2) Questo Movieclip secondario viene poi caricato nel principale tramite loadMovie.
OK?
allora:
codice:
if (elementType == "titolo") {
_root.titolo.push(elementTag.firstChild.nodeValue);
}
if (elementType == "autore") {
_root.autore.push(elementTag.firstChild.nodeValue);
}
if (elementType == "url") {
_root.url.push(elementTag.firstChild.nodeValue);
}
cambialo in:
codice:
if (elementType == "titolo") {
this.titolo.push(elementTag.firstChild.nodeValue);
}
if (elementType == "autore") {
this.autore.push(elementTag.firstChild.nodeValue);
}
if (elementType == "url") {
this.url.push(elementTag.firstChild.nodeValue);
}
Prova... e fammi sapere