Hi,
I did the ‘Photo Gallery using XML and Flash’ tutorial on here, and it all worked great, until I added some more images to my photo list which weren’t exactly the same width as all my original ones. Now the ones that are not so wide leave big gaps and appear where they like (often on top of other images)… I’m pretty sure this is the section of code that needs adjusting, I just can’t work out what to change to fix it?-
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+(target_mc._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
Any help would really be appreciated as I need to get this fixed asap…
Cheers,
Tom