3 Replies Latest reply on Dec 10, 2015 1:22 PM by Preran

    Second pause

    carta mundi Level 1

      Hello, i want to put several times a second pause in mine adobe edge animation...


      i found an answer on a similar question..


      pause <=> setTimeout()



      but where can i put this, and do i have to put in varibles or something??



      please, i've anybody can help, please...i need it... ;-)

        • 1. Re: Second pause
          elainecc Adobe Employee

          Hi, carta mundi-


          You can stick the setTimeout wherever you want; for instance, you might want a delay when you click on something or when you're playing something.  (In the latter case, I would just suggest trusting the Timeline to do it for you and skip the setTimeout.)  It probably makes more sense to rely on this when you're trying to delay after some kind of user interaction, so that would be in some kind of an event like click or mouseenter.


          Hope that helps,



          • 2. Re: Second pause
            Alce_uk Level 1

            Hi Carta Mundi,


            I believe you already found the answer but I will share my script anyway.
            Maybe someone will need it in the future.

            If you want to pause your animation for a couple of second and continue your animation just add this code below.


            For example:

            function pauseOne(sec) {

                   var self = this;

                   setTimeout( function() {



                      //your code what you want to do next

                       sym.getComposition().getStage().getSymbol('Your symbol).play('Label');


                   }, sec*1000);




            By the way -  sec*1000 = 1s

            • 3. Re: Second pause
              Preran Adobe Employee

              Thank you for sharing your solution, and helping the community. It will help other users that come across this post in the future.