loading
loading
Out of context: Reply #3
- Started
- Last post
- 5 Responses
- unfittoprint0
imagine this: mc0, mc1, mc2, mc3
//number of Movies
mcNumber=4;//Check Loading function
checkLoad = function(){
for (i=0; i<mcNumber; i++){
if(this["mc"+i].getBytesLoaded() == this["mc"+i].getBytesTotal()){
++totalLoaded
}
}if (totalLoaded == mcNumber){
clearInterval(checkLoop)
//include function or other
//after loading completed
dothis();
} else {
totalLoaded=0
}
}//start Loading loop
checkLoop = setInterval (this, "checkLoad", 30);