Hi,

I have "previous" and "next" buttons that I have on the main timeline. I simply want the next button to advance to the next frame and the previous button to go back to the previous frame. My buttons have instance names of "previous_btn" and "next_btn". Here is the code I am using. Also, I am using CS3, but am working in a 2.0 AC project file.

Code:
stop();
next_btn.onRelease = function () {
nextFrame();
}
previous_btn.onRelease = function () {
prevFrame();
}
Now, the next button works perfectly. However, the previous button doesn't work at all. Can anyone tell me why/how to fix it?

I've also tried using this code for the previous button, but it doesn't work either.

Code:
previous_btn.onRelease = function () {
_root.prevFrame();
}
Thanks for any help!