Problema con la nuova classe..
Ho creato un swf che contiene un target e un campo di testo.
Il caricamento e lo scaricamento funzionano benissino, ma no riesco a visualizzare i dati del caricamento.

La struttura della _root è la seguente:

_root --> table_mc --> loader_mc
--> debug_txt

Il codice è composto da cio':

codice:
Inizializzazioni

var myLoadedMovie:MovieClipLoader = new MovieClipLoader();
var MovieListner:Object = new Object();
var path:String = new String("");
var swfName:String = new String(path+"Cartina.swf"); // ... e il nome del mio swf
var myFormat:TextFormat = new TextFormat();
myFormat.font = "FFFHarmony";
myFormat.size = 8;
myFormat.color = 0x0099ff;
var globalStatus:String = new String();
function accaduto(campo:TextField, testo:String, formattazione:TextFormat) {
	campo.htmlText = testo;
	campo.setTextFormat(formattazione); 
}
var myLoadedMovie:MovieClipLoader = new MovieClipLoader();
var MovieListner:Object = new Object();
MovieListner.onLoadStart = function (target_mc)  {
	// comincio a popolare la variabile con gli avvenimenti ...
	globalStatus = "Inizio caricamento di " + target_mc + "\n";
	
	// e ci metto dentro anche il "misterioso" getProgress()
	var loadProgress:Object = new Object(myLoadedMovie.getProgress(target_mc));
	globalStatus += "Bytes Caricati all' avvio: " + loadProgress.bytesLoaded + "\n";
	globalStatus += "Bytes totali all' avvio: " + loadProgress.bytesTotal + "\n";
}
MovieListner.onLoadProgress = function (target_mc, loadedBytes, totalBytes) {
	var caricamento = "Totale bytes caricati: " + loadedBytes + "\n";
	caricamento += "Totale bytes da caricare: " + totalBytes + "\n \n";
	var loadProgress:Object = new Object(myLoadedMovie.getProgress(target_mc));
	caricamento += "Totale bytes PROGRESS da caricare: " + loadProgress.bytesLoaded + "\n";
	caricamento += "Totale bytes PROGRESS totali: " + loadProgress.bytesTotal + "\n";
	accaduto(_root.table_mc.debug_txt, caricamento, myFormat);
}
MovieListner.onLoadComplete = function (target_mc) {
	globalStatus += "Il file " + target_mc + " e' pronto per essere inizializzato.\n";
}
MovieListner.onLoadInit = function (target_mc) {
	target_mc._alpha = 50;
	target_mc._x = Stage.width - target_mc._width;
	globalStatus += "Inizializzazione " + target_mc + " completata.\n";
	accaduto(_root.table_mc.debug_txt, globalStatus, myFormat);
}


Caricamento e scaricamento

_root.table_mc.azienda_btn.onPress = caricaTesto;
_root.table_mc.dove_btn.onPress = function(){
	_root.table_mc.testo_txt.text = "";
	_root.table_mc.myScrollbar._visible = false;
	myLoadedMovie.loadClip(path+swfName, "_root.table_mc.loader_mc");
}

function caricaTesto(){
	_root.testo = new LoadVars();
	_root.inter = _root.setInterval(_root.controllo, 50);
	_root.testo.onLoad = fatto;
	_root.testo.load("http://localhost/Simedia/File/azienda.asp")
	myLoadedMovie.unloadClip(_root.table_mc.loader_mc);

}
Funziona tutto, anche il loadvars ma ... non vedo nella casella di testo, i dati del 'caricante'