questo è il codice che uso, ma non va...
dove sbaglio?!
codice:
onClipEvent (load) {
fscommand ("allowscale", "false");
_root.stop();
main = true;
}
onClipEvent (enterFrame) {
if (main) {
car = _root.getBytesLoaded();
tot = _root.getBytesTotal();
if (car == tot) {
loadMovieNum ("catalogo.swf", 1);
_level1._visible = 0;
main = false;
suono = true;
}
}
if (suono) {
car = _level1.getBytesLoaded();
tot = _level1.getBytesTotal();
perc = Math.round((car/tot)*100);
trace (car +" "+tot);
if (car != undefined) {
perc1 = Math.round((car/tot)*100);
this.perc.text = perc1+"%";
if(car == tot){
_level1._visible = 1;
suono = false;
}
}
}
}
help me..
dies