I have built a preloader from a tutorial that works great for loading the whole movie but what I would ideally like is to have it have it only load a percentage, or preferably load the first 420 frames. It has a load bar and text output and I would like to still be able to use those…
(420 frames loaded = 100%) or (60% bytes loaded = 100%)
Here is the code I am using… I would be grateful for any help. I have been experimenting like mad and wading through countless threads to no avail.
myInterval = setInterval(preloader, 10);
bar._xscale = (_root.getBytesLoaded()/_root.getBytesTotal())*100;
myTextField.text = Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100);