Bar Preloader Help ::.. Start at 60% or Frame

Hello all…

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.


_root.stop();
myInterval = setInterval(preloader, 10);
function preloader(){
if (_root.getBytesLoaded()>=_root.getBytesTotal()){
_root.play(30);
clearInterval(myInterval);
}
bar._xscale = (_root.getBytesLoaded()/_root.getBytesTotal())*100;
myTextField.text = Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100);
}


Cheers,

Chuck