# Problems with getting Photo Gallery to work

**URL:** <https://forum.kirupa.com/t/problems-with-getting-photo-gallery-to-work/160138>\
**Category:** flash\
**Created:** [August 23, 2005, 6:21pm UTC](https://forum.kirupa.com/t/problems-with-getting-photo-gallery-to-work/160138 "2005-08-23T18:21:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![angelsk](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@angelsk](https://forum.kirupa.com/u/angelsk)\
**Post date:** [August 23, 2005, 6:21pm UTC](https://forum.kirupa.com/t/problems-with-getting-photo-gallery-to-work/160138/1 "2005-08-23T18:21:25Z")

</div>

I’ve been following through the Photo Gallery tutorial: [http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm). I’ve been having problems making the next/prev buttons work, loading the image, and getting the \<- -\> keys to work consistently. Right works obviously at some times, changing the caption bit, but left doesn’t seem to do anything. Yet when I tested the listeners, they appeared to owrk - so the problem must be in the next/prevImage() function.

```auto
picture.loadMovie(image[0], 2);

```

This line tells the image to load, right? I’ve changed it to 2 coz it’s the second frame, is this correct?

I’m getting a bit frustrated with this.

I will post the .zip file when I get home, in a hour or so, it’s too big to upload.

Can anyone help?
