Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
for(var i=1;i<=10;i++){
this['preloadMov'+i].loadMovie('images/jpg'+i);
}
for(var i=1;i<=10;i++){
this['preloadMov'+i].loadPoint.loadMovie('images/jpg'+i);
}
for(var i=1;i<=10;i++){
this['preloadMov'+i].loadMovie('images/jpg'+i);
}
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
}
};