Perchè hai aperto un altro thread?
http://forum.html.it/forum/showthrea...postid=5563312
:master:

il codice corretto è questo:

codice:
stop();
dati = new LoadVars();
dati.path = this;
dati.onLoad = function(success) {
     if( this.loaded ){
          // qui ricupera i dati da TXT
          this.path.pippo = this.variabileneltxt;
     } else {
          trace("impossibile leggere i dati");
     }
     this.path.nextFrame();
}
dati.load( "dati.txt" );
sul frame due avrai la variabile pippo con il valore preso dal txt.