Navigation of animation stops working when using back arrow
Hello all,
I am looking for a solution for my presentation animation. I have this code to go to each stage in a presentation and want to use the arrows to go forward and backward to play each scene when clicked. The problem is when i go back with the arrows at the moment. The animation won't play again from what has already played once before. When i click the right arrow, the animation goes forward to where it was when i went back.
Help!
- stage.addEventListener(KeyboardEvent.KEY_DOWN, detectTextB);
function detectTextB(myevent: KeyboardEvent): void {
if (myevent.keyCode == 39) {
gotoAndPlay(19);
} else {
if (myevent.keyCode == 37) {
gotoAndStop("A");
}
}
}
