Hola abaezri, prueba lo siguiente:
Código:
nxt_btn.onRelease = function (){
var maxFrames = 23;
var wichFrame = (_root.currentFrame + 1) % maxFrames;
gotoAndStop(wichFrame);
}
prev_btn.onRelease = function (){
var maxFrames = 23;
var wichFrame = (_root.currentFrame - 1) % maxFrames;
gotoAndStop(wichFrame);
}
A ver si te sirve
Pimager