There is this great tutorial here on kirupa where you add thumbnails to a XML photogallery (http://www.kirupa.com/developer/mx2004/thumbnails2.htm).
Now, everything works fine with horizontal pictures, but when i add vertical images the thumbs positions gets messed up.
now, what i want to do is when it loads the thumbnails it should get the width of the previous thumbnail and position the next thumbnail right after it plus 5 pixels, then everything should work nicely.
(I’ve already fixed how the big image gets positioned with horizontal/vertical images, so that i don’t need any help with)
If someone can point me in to right direction where the positioning of the thumbs are being made, then maybe i can fix it myself.
Thanks!
// EDIT
[FONT=Arial][SIZE=2]target_mc._x = hit_left._x+(eval(“thumbnail_mc.t”+k)._width+5)*k;
this line is supposed to position the thumbs correctly, but it doesn’t
[/SIZE][/FONT]