Basically, I have a gallery, with pictures on consecutive
frames on the time-line. I made a next button and previous button
and I used the code exactly as is written above for each respective
button. The next frame command seems to work Ok but as soon as you
hit previous button it goes haywire, seemingly linking to any frame
on the time-line.