codice:
// globale
var contenitore:Array = new Array();
// globale
var prova:Function = function( data:String ):Void {
	trace( contenitore[Number( data )] );
}

// dentro il while, crei la stringa ...
var stringa:String = new String( '' );
for( var a = 0; a < 100; a++ ) {
	stringa += '['+String(a)+'] stringa\n';
}
// la metti dentro il contenitore
contenitore.push( stringa );
// passi solo questo riferimento al contenitore
testo.htmlText = '-vai-';
p.S. il limite non e' 109 ... c'e' proprio un limite di stringa nell' url ... 127 credo, - "asfunction:" , 116