Hi People.
I can’t monitoring the loading process of a txt.
I have this on on frame:
//----------------------------------------------------------
datos = new LoadVars();
datos.load(“contenido.txt”);
//----------------------------------------------------------
… and applying the movieClip loader method to monitoring the load progress I use this (I guess):
//----------------------------------------------------------
onClipEvent (load) {
_xscale = 0;
tot =datos.getBytesTotal();
}
onClipEvent (enterFrame) {
car = datos.getBytesLoaded();
perc = Math.round((car/tot)10);
_xscale += (perc10-_xscale)/5;
if (car>=tot) {
datos.onLoad = function() {
salida_txt.text = this.info;
//info is the var in the txt
};
}
}
//----------------------------------------------------------
but, this not works !
Please help me with this, Thanks !
JOHNMARTIN