In the second, third or fourth frame add this script and give a name to one of the previous frames to get a loop.
loadedBytes = _root.getBytesLoaded();
totalBytes = _root.getBytesTotal();
if (loadedBytes < totalBytes){
frame = int(loadedBytes/(totalBytes/100));
_root.loaderBar.gotoAndStop (_root.frame);
gotoAndPlay ("preload_loop");
}else{
gotoAndPlay("begin_movie");
}
|