onClipEvent (load) { total = "_root.getBytesTotal ();"; } onClipEvent (enterFrame) { baixado = _root.getBytesLoaded()+"bytes"; restam = total-baixado+"bytes"; porcentagem = _root.getBytesLoaded()/_root.getBytesTotal()*100; ComandaBarra = int(porcentagem*10); strporcentagem = substring(porcentagem, 1, 5)+" % "; with (_root.barra) { gotoAndStop(ComandaBarra); } if (porcentagem == 100) { tellTarget ("_parent") { gotoAndPlay ("Animation", 1); } } }
Ah, e alguem sabe, o total baixado ser mostrado em Kb e os restantes tbm? Valeu à quem puder me ajudar!