Sostituisci la 3° e 4° riga così:
caricati = _root.getBytesLoaded();
totali = _root.getBytesTotal();
perc = Math.round((car*100)/tot);
_root.indicatore._xscale = perc;