ciao a tutti
ho un serio problema di loadVars:
sullo stage ho un campo di testo dinamico istanziato main
il codice che uso è il seguente:
System.useCodepage = true;
dati = new LoadVars();
dati.path = this;
dati.onLoad = function(success) {
if (success) {
this.path.main.html = true;
this.path.main.htmlText = this.my_text;
} else {
this.path.main.text = "errore caricamento";
}
};
dati.load("/news3.asp", 0,"GET");
l'output di news3.asp è questo:
my_text= 5/8/2006 - Prova news.......
mettendo tutto online (sia l'swf che news3.asp sono nella cartella principale del sito) appare la scritta undefined
dove potrebbe essere l'errore?
grazie

Rispondi quotando
