I got it to work within each external swf, aside from one in particular. Th
e
one that it's not working on is one that has three semi-hefty movie clips.
Is
there a way to add the percentages of each of those three movie clips, divid
e
by three, and output the average of all of them loading?
This is what I used for the preloader script:
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndStop(3);
}
}
Thanks in advance,
Brian
|