I really need help making a photo gallery in my website. I want the gallery section to brings up a bunch thumbnails dynamically for users to choose from and when they click on the thumb it will load the actual image.
So far, I can only get the thumbnails to load.
_root.xSpacing = 270;
_root.numOfPics = 3;
pathToImages = “images/image”
for (i=0; i<_root.numOfPics; i++) {
holder_mc = this.createEmptyMovieClip (“emptyClip”+i, i);
holder_mc.loadMovie(pathToImages+ i + “.jpg”);
holder_mc._x = (_root.xSpacing*i)
}
Thanks for the quick reply. I did check out that tutorial many times but I still can’t figure out how I can click on one of the thumbnail and it load the correspondent real size image (ie. if I click on thumb0.jpg, it will load image0.jpg).
Thanks plonker! for pointing me in the right direction. Hopefully, after going through the tutorial I can get my photo gallery to work. It’s going to be the first time writing/using xml for me in flash.