Searched around the forum for help, but without much luck.
My question is, if you can add some AS3 code to a button on the timeline to make it go to the next frame in the timeline instead of telling it to go to a framelabel. Sounds so easy, but I just can´t make it work.
I´ve been fooling around with this, but without any luck.
prev_btn.addEventListener(MouseEvent.CLICK, goBack);
next_btn.addEventListener(MouseEvent.CLICK, goForward);
function goBack(event:MouseEvent):void {
container_mc.prevFrame();
}
function goForward(event:MouseEvent):void {
container_mc.nextFrame();
I have alot of buttons so linking all of them to a framelabel back and forth doesnt seem efficient to me
Anyways, appreciate any and all help.
Thanks