loading
- Started
- Last post
- 5 Responses
- canadian
Is it possible to have a loader load a stage filled with external swf's that are being called using levels?
- canadian0
?
- eloosive0
? -yes? A flash site has externally loaded swfs all over the place via actionscript, putting those on different levels, inside of movie clips and on and on into eternity.
Don't over complicate the loader
with some stage, that needs a loader itself, for externally loaded swfs, that themselves need loaders. Some visitors don't even like loaders like those for some reason or another. Know what I'm saying?
- 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);
- canadian0
wait I meant I have a stage that calls about 5 external swf's and my preloader wont load these so once the user enters - the swf's sparadically load. I want them all to have loaded by the time the user get's there.
- mrdobolina0
drag them all into one swf and then preload it, unless I am missing something.