AS3 gotoAndPlay Frame in a prevFrame
I think this should be a easy fix. I am self taught using Flash and putting together a photo gallery. I have a 2 swf files that when you enter play from frames 1 through 15. I have a back button that I am trying to play frames 16 to 30. I am trying to use as little code as possible and the swf files are nested in a Movieclip. I am trying to target frame 16 in each of the swf movieclip when they hit the back button.
This is the code I have that works.
left_btn.addEventListener(MouseEvent.CLICK, backward);
function backward(e:Event):void {
photos_mc.prevFrame();
}
What I like it to do is
left_btn.addEventListener(MouseEvent.CLICK, backward);
function backward(e:Event):void {
photos_mc.prevFrame(16);
}
