Originariamente inviato da ditutticolori
il codice è questo


car = _root.mc1.getBytesLoaded();
tot = _root.mc1.getBytesTotal();
perc = int(car/tot*100)+"%";
avan = int(car/tot*100);
totali = _root.getBytesTotal();
rimanenti = _root.mc1getBytesLoaded();
setProperty("barra", _xscale, 100-avan);
if (car == tot) {
gotoAndPlay("home", 1);

}
ci sono errori.. prova così:
codice:
car = _root.mc1.getBytesLoaded();
tot = _root.mc1.getBytesTotal();
perc = int(car/tot*100)+"%";
avan = int(car/tot*100);
totali = _root.mc1.getBytesTotal();
rimanenti = _root.mc.getBytesLoaded();
setProperty("barra", _xscale, 100-avan);
if (car == tot) {
gotoAndPlay("home", 1);