5 Replies Latest reply on Jun 12, 2014 7:33 AM by Casu2013

    Next button in symbol, start animation from the timeline and after 3 sec playReverse




      I have a next button in a symbol. When I click on the button I would like to start the animation from the timeline.

      It wil starts at one second. But if the timeline is after 3 seconds I would like to play the animation backwards (if you click on the same button).

      I tried it with the code below but it starts always at 1 second.



      var pos = sym.getPosition() //


      if (pos <= '1000'){




      else if (pos <= '3000'){




      Can anybody help me with the code?