Pic. gallery help

Hello. First of all, thanx for a lot of very good tutorials!
I need some help with the Photo Gallery guide…
I want the window to scale my pictures to a size automaticaly. Is that possible? I have a lot of differentsized pics, and I dont want to scale them myself… I want them to be showed all in the same size. now they are shown in it´s original size.

Then one more problem… Is there anyway I can get around typing all the name in the
“this.pArray = [“1.jpg”, “2.jpg”, “3.jpg”, “4.jpg”];” field? If i want it to show all the pics in that folder? Do i have to type in the name of all the pics?

Hope someone understand anything of my english :slight_smile:
Would be greatfull if someone could help me. Thnx.

If you have a pics editor like Photoshop,
make all your pics relatively the same size.
Looks better in your design.
And YES, you do have to name all your pics in the array, otherwise Flash wouldn’t know where to go, right?

regards

Actually, Kode helped me out w/ this prob. earlier. Do a search for something like “Simple Pic Gallery” or something. Kode wrote an xml file that auto detects all the pics in the folder you specify. It’s pretty cool. The only prob is that it doesn’t auto resize. Perhaps you could get some help w/ that. If so, let me know, I had to make all the pics the same size.

If I find the thread, I’ll post it

k, found it

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=33370