Going forward and back

Hi all,

Super easy question I hope.
I want to allow users to scroll through some photos simply using a forward arrow and a back arrow.

I only have to load about 10 photos so can probably keep everything in one movie.

But, what code do I associate with the back/forward arrow buttons.

Argh, I know this must seem stupid to many of you. Sorry and thanks

Kellys

rather simple way and kinda dodgy but hey…insert 10 keyframes and put a photo on each frame then put the followin actions on your buttons…

next button code…

on (release) {
nextFrame();
}

previous button code…

on (release) {
prevFrame();
}

and your done…hope thats what you wanted

thanks Joso,

I also just found this which seems about right (though I think your way works too):

http://www.kirupa.com/developer/mx/photogallery.asp

kellys

Careful with the tute. Exploding material…