# Image Gallery - select specific picture

**URL:** <https://forum.kirupa.com/t/image-gallery-select-specific-picture/158203>\
**Category:** flash\
**Created:** [August 8, 2005, 5:45am UTC](https://forum.kirupa.com/t/image-gallery-select-specific-picture/158203 "2005-08-08T05:45:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reloop](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/reloop/32/1621_2.png) [@reloop](https://forum.kirupa.com/u/reloop)\
**Post date:** [August 8, 2005, 5:45am UTC](https://forum.kirupa.com/t/image-gallery-select-specific-picture/158203/1 "2005-08-08T05:45:16Z")

</div>

Hey,

\*\*first of all thanks to Kirupa ! \*\*  
I used the script from section “Flash MX” - Tutorial “ **Create a Photo Gallery** ”.

I love it, cause it´s simple, easy to use and for my targets perfect. But - i have one question… to navigate there are two buttons. One “next”, other “previous” - if you click “next” the it will rise [+1] and on previous [-1].

This is clear for me and i have a (little) idea, how it works and function. But i´m a beginner. **So my question:** is it possible to create a button, which call a specific number ?

I have pictures from 1-76 and i need some buttons to call special pictures.  
ex. 34 or 56,… How can i make this button ?

My AS-Skills are really, really bad. My idea in my little head was, that i need a button, which change the actual .rootphoto to “0” and then “+34” or “+56”.  
So i can jump there, and then navigate as usual (next, previous). Cause if i make a button only with

```auto
 on (release) {
_root.changePhoto(34); 
} 

```

he makes 0+34 (is ok) but also +34 when i at picture 31 (=65)…

I hope anybody understand my strange text and problem… hope, somebody can help… greetings from austria ! \*\*Reloop

PS edit: \*\*i have seen now the “new” gallery with XML in Flash MX 2004 - this script will also perfect for my site :ko: - but there is the same problem ! I need only a few buutons to jump (or “call”) also to specific numbers…
