okay, here's my preloader script:
frame 1:
Code:
loadpercent = "0%";
Frame 2:
Code:
factor = _root._totalframes / 750;
Percent = Math.round ((_root.getBytesLoaded() / _root.getBytesTotal() * 100)* factor);
loadPercent = ".."+percent+"..";
if (Percent > 100) {
gotoAndPlay(4);
}
BAR._width = PERCENT*170;
Frame 3:
Okay... now for my question. i have a one frame movieclip of a bar spinning around...if i took out frame 3 and added else{gotoandplay(2);} on to the second frame, so it looked like this:
Code:
factor = _root._totalframes / 750;
Percent = Math.round ((_root.getBytesLoaded() / _root.getBytesTotal() * 100)* factor);
loadPercent = ".."+percent+"..";
if (Percent > 100) {
gotoAndPlay(3);
}
else {gotoAndPlay(2);}
BAR._width = PERCENT*170;
would that work?
is it possible to loop one frame to keep playing itself over and over?
because i want to have that little bar spinning...