4 Replies Latest reply on Sep 11, 2013 11:19 PM by mirifarr

    next previous button

    mirifarr Level 1

      hi there,

       

       

      I'm looking for it for few days and just couldn't find what i'm looking for.

       

       

      i need to use the same button on click to play the next animation (label)

      and i have a back button which need to play the previous animation.

       

       

      sounds pretty easy, but just couldn't find the right thing.

       

       

      found this but couldn't figure out how to make the previous action to work

       

       

      in CreationCompete put this :
      c = 1;

      and in function click in you boutton next or previous put this :

       

       

      if ( c == 1 ){

      sym.play("the_first_animation");

       

       

      }

      else

      {

      sym.play("the_Second_animation_in_timeLine");

       

       

       

       

      }

      many thanks