7 Replies Latest reply on Apr 29, 2016 2:30 AM by ddhayles

    PlayReverse and stop at a certain position in the timeline

    dreaminkiss Level 1

      Hello All;

      How can I stop at a certain position in the timeline?

       

      I have a Spritesheet, it is set to grow a flower when you click it.

      And then click it again, to make the folder back small again.

      However, when the flower is made smaller, it disappears at the end.

       

      This is the code that I am using. (Using timeline positioning)

       

      if (sym.getSymbol("Flower").getPosition()< 416 )

      {

      sym.getSymbol("Flower").play(022);

      }

      else

      {

      sym.getSymbol("Flower").playReverse();

      }

       

       

      Is there a way to make it STOP at a certain part of the animation (The spritesheet part of the smallest flower)?

      I have a STOP action where I need it to stop at (022) from above, but it is refusing to stop there.

       

       

      Thanks all

      Wayne