forzare la height non serve a niente ... usa autoSize
poi il codice in procedurale scritto cosi' non e' che sia proprio il massimo ... prova con questo
codice:
test = new LoadVars();
test.onLoad = function( s ) {
texto.html == true;
texto.multiline = true;
texto.autoSize = true;
texto._width = texto._width;
if( s ) {
if( this.testo != undefined
&& this.testo != '' ) {
texto.htmlText = this.testo;
trace( texto._height );
}
else {
texto.htmlText = 'nessun dato';
}
}
else {
trace( 'Nessuna pagina' );
}
}
test.load("testi/company.txt");