Hey,
I’m working on the Kirupa photo gallery and that works fine. Now I want to change how the thumbnails are loaded in. I would like them to be loaded in a holder (now in an emptyMC) so that I can put a mask/ border on it.
This is the thumbnail function:
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k,thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};
target_mc.onRollOver = function() {
this.colorTo(0xf8ee08,1,"easeOutQuint");
thumbNailScroller();
};
target_mc.onRollOut = function() {
this.colorTo(normal, 1,"easeOutQuint");
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k],"thumbnail_mc.t"+k);
}
Any ideas how i can do this?
Thanks!
Will