how could i use the script you made for the slideshow…into a thumbnail gallery so i could have say:
folderA-thumbnail images
FolderB-bigger version
the thumbnail images would load as it did on the tutorial but the images would also have to be buttons…so that when pressed a geturl action could be executed.
That sounds like a nice advancement to the tutorial, thumbnails that are buttons (or movie clips) that load a larger image, because lets admit, no one wants to view a slide show with all big images! Well not me, but I liked your tutorial and I have learned from it, thanks bro!
I rekon this could only be achieved by using a db… I have a project that may require this… so i will let you nkow how i get on…and i’m sure i will be asking for tons of help…
Man, hard thing to understand everything in Supra’s code… Beautiful, but prototypes all around are disconcerting.
I think you have to change the loadMeter prototype a bit
MovieClip.prototype.loadMeter = function() {
var i, l, t;
l = this.photo.getBytesLoaded();
t = this.photo.getBytesTotal();
if (t>0 && t == l) {
this.onEnterFrame = fadeIn;
this.photo.onPress = function () {
trace ("youhou ! ") ;
}
} else {
trace(l/t);
}
};
This will trace Youhou ! But you can add an empty clip on the stage, ans assuming that all the pictures are named image0_big.jpg and so on, you could replace the trace action with