How to use navigation in Adobe Animate?
Hello everyone, having a bit of trouble on trying to have my buttons (next, back, and replay) work correctly. I have 11 frames aniamted, first frame works correctly and the next button takes it to the next frame. However, the next frame does not play my animation and that's where I am stuck right now.
On my first frame I have this:
import flash.events.MouseEvent;
stop ();
var userName;
next_btn.addEventListener(MouseEvent.CLICK, getName);
function getName(event:MouseEvent):void
{
trace("button works");
nextFrame();
}
Which works for me so far. Does anyone have any tips on how I can have my other frames animate and then have my buttons (next and back) work for my next 10 frames?
