PDA

View Full Version : Trying to create a xml gallery


Shinrin
11-16-2010, 04:38 PM
I need 50 thumbnails to be displayed in the "thumbs_container" no scrolling or pages

and the big image in the "container"
the image description in the dynamic text "popis"

and the popis, thumbs and the container image should be linked through xml to change them later if needed

here is how it should look:
img241.imageshack.us/img241/1388/desktopvq.png

I tried to chop the various tutorials together but in the end I ended up with a big empty brain and a lot of error messages...
pls pls help! :confused:

Eralmidia
11-16-2010, 10:09 PM
With this video tut you should be able to solve most of it http://www.youtube.com/watch?v=iQN7n8XuIVI

Shinrin
11-17-2010, 07:00 PM
I had done the xml loading with no problem but I got stuck with the thumbnails...

My problem is to display the 50 images and link the thumbnail (when clicked the image is loaded into the container next to them)
and to have the possibility to exchange the thumbnails and images just by editing the XML file

I saw a tutorial simmilar to what I want, in it there was the thumbnail container movie clip and on him lay another mc with the size of the thumbnail.
the action script just told to display the thumbnail mc 50 times with another image in each one and made the thumbnails clickable

republicofcode.com/tutorials/flash/as3gridgallery
the problem is I need the image displayed not over the thumbnails but on the left next to them...

jsprclimber123
11-18-2010, 07:04 PM
This example might help you:

http://www.flashmo.com/preview/flashmo_175_photo_gallery

You can download and tinker with the code to perhaps form it how you need it.

Shinrin
11-27-2010, 07:35 AM
I have a problem, the images donīt stay in the box and I canīt figure out where the problem is... o.oJ
img694.imageshack.us/img694/4651/screenquo.png