Thursday, April 9, 2020

Reverse or Rewind Timeline using Action Script 3.0

1 comment:

  1. hey my friend you can help me with something? im trying to create a presentation for a touch screen, so i have some stop(); actions in the timeline and also have a button to play or continue the animation, but now i need a reverse button to go back to the previous stop.

    this is my play button:

    import flash.events.MouseEvent;

    play_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame);

    function fl_ClickToGoToNextFrame(event:MouseEvent):void
    {
    MovieClip(this.root).play();
    }

    i have everything in the main timeline... if you can help me i will apreciate it! thanks!

    ReplyDelete

Please, do not enter any spam link in the comment box.