I basically have 4 images and an up and a down button. I have it so that if you click the up btn, it will go to the next picture (7 frames away) and I also have it so when you click the down btn you go to the picture before (7 behind).
It works perfectly well when I click the up btn, it continues after the 4th image to go to the first, but not so much the down button. Whenever it gets to the 1st frame/ picture, it stops. Can you help? Thank you.
Code:next1_btn.addEventListener(MouseEvent.CLICK, image1);
next2_btn.addEventListener(MouseEvent.CLICK, image2);
function image1 (evtObj:MouseEvent):void
{
gotoAndPlay(currentFrame - 7);
}
function image2 (evtObj:MouseEvent):void
{
gotoAndPlay(currentFrame + 7);
}
