Structure xml gallery

hi,

i’m starting to build a image gallery, a simple one:

XML

  • titles to sets of images
    ->thumbnails
    ->images

1 - I want the xml to load and display the titles for the different sets of images
2 - after the user select one set to see the thumbnails of that gallery will display
2.1 - at same time the first image of that set will load.

3 - after this, each image will only load if the user selects it’s respective thumbnail.

Of course that if the user clicks in a image for the first time the image have to load first, my doubt is when you go back and select a image that have already been load should the code have a exception for that, telling something like if image loaded then display else load

oldtime projects, made in as2 I think I never thought much about this, just made it loading everytime you click a image… and sometimes :stuck_out_tongue: the browser would display it without loading it again… I believe it had something to do with cache. If that’s true why bother coding unnecessary options?.. well I really dunno about this things, some help would be great.

Thanks