hi, i am working with kirupa’s xml photogallery tutorials and have some questions regarding how to modify them in order to extend functionality a little bit further,
the first question has to do with preloading, i am trying to preload all of the images before the launch of the site, in order to ensure there is no delay when clicking through or during slideshow veiwing. better yet preload a certain precentage and continue loading in the background into a duplicate hidden movieclip. I have attempted to do this by duplicating the main duplicateMovieClip() movie clip and use a for loop to step through the xml array loading each image and outputing to dynamic text the number of images loaded:
function preloadback() {
duplicateMovieClip(picture, picturecopy, 1);
for (z=0; z<total; z++) {
picturecopy.loadMovie(image[z], 1);
loaded_txt.text = z+1+"/"+total;
}
}
this seems to work as if i substitute for my main movieclip instance name"picture" for “picturecopy” my duplicated movie clip, on run, it skips to the last picture and the dynamic text states loaded 20 out of 20… my question what function do i use to copy the contents of the duplicated and loaded movieclip back into the main movieclip? is this a good way to acomplish total preloading?
attached is my fla file if anyone would like to look at it, there are other problems / half completed ideas as well so please pardon its uglyness.
thanks so much for any help,
dsb