Sto usando la guida del mitico nega su LoadVars (http://flash-mx.html.it/guide/view_l...=197&idguida=9)
e precisamente uso questo script
dati = new LoadVars();
dati.path = this;
dati.onLoad = function(success)
{
if (success) {
for(var prop in this){
// permettiamo al campo di testo di ricevere
// i tag html
this.path[prop + "_txt"].html = true;
// inseriamo i dati nella proprietà "htmlText"
// invece che nella proprietà "text"
this.path[prop + "_txt"].htmlText = this[prop];
}
} else {
this.path.nome_txt.text = "file inesistente";
}
};
ASSetPropFlags(dati, ["onLoad", "path"], 7);
dati.load("file.txt");
Come e dove posso inserire una scritta tipo: Wait while downloading mentre carica il file di testo?