dimenticavo questo è ciò che è scritto in Flash :

MovieClip.prototype.chiamata = function(immagine, x, y, scala, alpha, barra, attesa, livello) {
img = this.createEmptyMovieClip("bild", livello);
checker = this.createEmptyMovieClip("contatore", livello+1);
img.loadMovie(immagine);
checker.onEnterFrame = function() {
img._visible = false;
fine = int(img.getBytesLoaded()*100/img.getBytesTotal());
createTextField("testo", livello+2, 410, 210, 100, 100);
testo.autoSize = true;
testo.text = fine+" %";
linea.removeMovieClip();
linea = createEmptyMovieClip("linea", livello+3);
var faktor = testo._width/100;
with (linea) {
_x = 470;
_y = 220;
lineStyle(8, 0xFF0000, 100);
moveTo(0, 0);
lineTo(fine*faktor*barra, 0);
}
if (fine>=100) {
if (count>attesa) {
with (img) {
_visible = true;
_x = (!x) ? 0 : x;
_y = (!y) ? 0 : y;
_xscale = _yscale=(!scala) ? 100 : scala;
_alpha = (!alpha) ? 100 : alpha;
}
testo.removeTextField();
linea.removeMovieClip();
checker.removeMovieClip();
delete count;
}
count++;
}
};
};