PDA

View Full Version : Image Gallery - select specific picture



reloop
August 8th, 2005, 01:45 AM
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

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.....

reloop
August 8th, 2005, 11:51 PM
has nobody a small idea, how to solve it ? :(