¿como podria hacer que flash detecte ese fallo en una condicional ?
onClipEvent (load) {
this.txt.text = this._name;
this.createEmptyMovieClip("cargador01", 1);
cargador01._x = this._name._x;
cargador01._y = this._name._y;
cargador01.loadMovie(_root.ruta+"mini/"+this._name+".jpg");
onEnterFrame = function () {
total = cargador01.getBytesTotal();
cargado = cargador01.getBytesLoaded();
this.precargafoto.text = Math.round((cargado/total)*100)+"%";
if (cargador01.getBytesTotal()<=-1) {
this._visible = false;
_root.minix = _root.minix+_root.separacion;
delete this.onEnterFrame;
}
if (cargado == total && total>0) {
this.precargafoto.text = "";
delete this.onEnterFrame;
}
};
ahora lo estoy kitanod de una manera poco ortodoxa
if (cargador01.getBytesTotal()<=-1) {
this._visible = false;
_root.minix = _root.minix+_root.separacion;
delete this.onEnterFrame;
}
pero sq otra no funciona...y esta da fallos!!!
si teneis alguna idea escribirme a mi email: [email protected]
UN SALUDO!!!
