|
-
xml & display order in flash
hey guys,
i have this xml gallery, which is working pretty good if there wasnt this only problem. the pictures that are being loaded into my gallery are displayd in the wrong order (the first picture 1.jpg is always shown first, i want it to be the way around...).
i have tried already to change the "for" comand, but i cant make it work.
i hope someone can help me out.
the fla and xml files can be download here: http://www.4fukkinlyn.com/gal.zip
thanks
regards
-
In the 'function TG_aufbau(num)' for loop, try changing as follows...
Code:
for (var i = bilder; i > 0; i--) {
var tn = gal.pics.attachMovie("tn_holder", "tn_" + i, 10 + i);
tn.bg._xscale = tn.bg._yscale = 5;
tn.pic.loadMovie("bilder_button/gallery/" + navi[num]["folder"] + "/tn/" + i + ".jpg");
tn.bigpic = "bilder_button/gallery/" + navi[num]["folder"] + "/img/" + i + ".jpg";
tn.bg.c = 0;
And changing the (i+1) to i.
-
Superb, works great!
i cannot tell you how much you helped me out.
thanks a lot!
regards
jeune
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|