I’m finishing off client’s website adding in some transitions, but the product gallery section is giving me some trouble. The section has four sections (external SWF’s), one of them being a picture gallery.
PROBLEM: If you click on the picture gallery, and then click on another section without waiting for all the pictures to load, it will just sit there for a while (I’m guessing it still loads up the rest of the pictures).
The code for the picture load is:
for (i=0; i<90; i++) {
this.createEmptyMovieClip("clip"+i+"_mc", i+1);
this["clip"+i+"_mc"].createEmptyMovieClip("foto_mc", 0);
this["clip"+i+"_mc"]["foto_mc"].loadhere(0,0,"fotos/pic"+i+".jpg","foto"+i);
this["clip"+i+"_mc"]._x = x;
this["clip"+i+"_mc"]._y = y;
}
The code to change to a different section looks like this:
button_loja.onPress = function() {
unloadMovie(2);
_root.createEmptyMovieClip("container", 2);
loadMovie("loja_external.swf", "container");
container._x = 19.9;
container._y = 142;
}
Here is the URL just in case (the gallery is the “Produtos” section): http://www.webstudiojr.com/balaiobrasil
Thanks!!