Hi, I’m trying to build an image gallery for my portfolio and found a Kirupa’s tutorial using Flash and XML that would help me a lot. As I could not download the source files for this tutorial, I tried to do it by myself.
The way it works is as follows: You can jump to the next or previous image clicking on the next or previous buttons. And you can also use your arrow keys (> and <).
The problem I have is when I click on the next (or previous) button it shows me one image ok but the next is not been showed. And again, the next one shows and the following not. These images have also text and image number and text and image number are properly displayed in all cases.
If you use the arrow keys all of the images and description and image number are properly displayed but using the buttons one is displayed but the next one is not.
I added some functionality in order when you reach the last (or first) image and click again on the next (or previous) button you loop back to the first (or last) image. Weird, but if the last image could not be seen the first one will be (and viceversa). So, if you have an odd number of images, the images that were displayed in the first loop in the next loop are not displayed and the images that were not displayed in the first loop in the next loop are displayed.
It’ s not easy to explain in words but if you want you may download the whole project (very small) from http://gc.fetishforest.com/pruebas/images.zip
Does anybody can help me? please
Thank you for your time
Lautaro