Ciao a tutti!
Io carico in un campo di testo un txt esterno, mi carica tutto senza prolbemi però nn mi mostra la scirtta del loading "Caricamento di testo..."
lo script che uso è questo:
codice:
carvar = new LoadVars();
carvar.path = this;
this.path.verona_testo.html = true;
this.path.verona_testo.htmlText = "Caricamento testo...";
carvar.onLoad = function(success) {
if (success) {
this.path.verona_testo.html = true;
this.path.verona_testo.htmlText = carvar.verona_testo;
} else {
trace("Problema nel caricamento del file!");
this.path.verona_testo.html = true;
this.path.verona_testo.htmlText = "File nn trovato, contattare l'amministratore";
}
};
carvar.load("testi/verona_romana.txt");
COsè che sbaglio??
Grazie pre la vostra pazienza