# Basic xml flash gallery: button question

**URL:** https://forum.kirupa.com/t/basic-xml-flash-gallery-button-question/252173
**Category:** flash
**Created:** [February 17, 2008, 8:25am UTC](https://forum.kirupa.com/t/basic-xml-flash-gallery-button-question/252173 "2008-02-17T08:25:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stacybird](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@stacybird](https://forum.kirupa.com/u/stacybird)
#### Post date: [February 17, 2008, 8:25am UTC](https://forum.kirupa.com/t/basic-xml-flash-gallery-button-question/252173/1 "2008-02-17T08:25:13Z")

</div>

Hey all- just got introduced to this site today… love it! Will definitely be linking here from my site 🙂

Anyway, I’m working with the basic xml gallery tutorial titled ‘Create a Photo Gallery’,  
and everything it walked me through worked great, but I want to make an alteration and can’t figure it out. I’ve inserted an image to help me explain:

![](http://img219.imageshack.us/img219/8834/exampleal2.jpg)

Example 1 is what I successfully produced from the tutorial. There are ‘next’ and ‘previous’ buttons that move the user sequentially through the images. What I would like to do though is create a setup as in Example 2.

For this example, let’s say I have 4 images to show in my gallery. Instead of having ‘next’ and ‘previous’ buttons, I would like to have 4 little buttons that, when clicked, load the corresponding image. This would allow users to jump between images as they pleased.

I looked at the thumbnail gallery tutorial thinking I could just designate my little icons per image instead of the typical thumbnail, but it seems there should be a more basic way? I mean, the arrow method comes so close… but instead of going back 1 or up 1, I need to tell it exactly which image to pull.

Sooo yah. Any help would be greatly appreciated.  
Thanks for your time!
