Hi,
I have the following code which is used to load 3 swfs into a movie clip on the main stage:
holdCard_array = [this.hold_mc.emp, this.hold_mc.nick, this.hold_mc.stren];
hold_array = ["cardtestempres.swf", "cardtestnick.swf", "cardteststrength.swf"];
l = 0;
while (l<=2) {
var card = holdCard_array[l];
card.loadMovie(hold_array[l]);
l++;
}
No problem with that - what is bugging me is how to get a preloader to give me the load progress of all the clips coming into the main movie – so that when all three clips are loaded the loader will give 100%
My best guest so far is to rather than use getBytesTotal() which will be hard with 3 individual movies, I will ascertain manually the total amount for all 3 swfs to be loaded & check against that with something like:
totalBytes=65000;
_root.hold_mc,onEnterframe=function(){
if(getBytesTotal()=> totalBytes){
goToAndStop(2);
}
}