checkAllLoaded = function () {
//checks through each clip to see what its status is
for (var i = 1; i<=10; i++) {
clip = this['preloadMov'+i];
if (clip.getBytesLoaded()<clip.getBytesTotal()) {
return false;
}
}
return true;
};
//
this.onEnterFrame = function() {
//see if everything has loaded, keep looping if it hasn't
loadedOk = checkAllLoaded();
if (loadedOk) {
this.onEnterFrame = null;
//go and do rest of movie
}
};