4 Replies Latest reply on Jan 29, 2016 10:39 AM by insanyrivas

    Creating an infinite forward-reverse loop

    pdt_nyc

      I want to have my animation automatically play forward to the end, reverse play, then start forward at the beginning.

       

      I can get the animation to infinitely loop in the forward direction by putting this code in the trigger on the last frame:

      sym.play(0)

       

      I can get the animate to reverse to the first frameby putting:

      sym.playReverse();

      on the last frame.

       

      I can't get them to work together, though. I have tried putting "sym.play(0)" and "sym.play(1)" at the first frame, but that didn't restart the animation at the end of the reverse play.

       

      Thanks for any help.