partiamo dall'html
index.html carica un MAIN.swf
main.swf carica diversi swf, tra cui anche menu.swf (su livello 10)
menu.swf ha una voce che apre pippo.swf su livello 2
pippo.swf richiama un testo preso da un txt esterno.
se faccio doppio click su pippo.swf funziona tutto
se navigo il sito, mi viene fuoti tutto (grafica, colori e scrollbars) ma niente testo
il codice è questo:
__________________________________________________ ________________
stop();
this.testo.text = "caricamento in corso"
this.testo.background = true;
this.testo.backgroundColor = 0xFBFBFB;
this.testo.textColor = 0xff0000;
this.carica = new LoadVars();
this.carica.path = this;
this.carica.onLoad = function(ok)
{
if(ok){
this.path.testo.text = this.testo;
}
};
this.carica.load("ita/presentazione.txt");
__________________________________________________ ________________

Rispondi quotando