10 Replies Latest reply on Jan 7, 2016 10:15 AM by jeffs80317941

    How to create a delay function in a trigger

    sovButcher Level 1

      I have a problem, i need create a function delay in the timeline with a trigger.

       

      I want that my animation play every 3 seconds until the next sym.stop and then play again after 3 seconds.

       

      Ej. I have 3 triggers in the timeline:

       

      sym.stop(1000)

       

      sym.stop(2000)

       

      sym.stop(3000)

       

      My idea is make a delay in all the triggers, like this:

       

      sym.stop(1000)

      delay.play (2000)

      sym.play

       

      sym.stop(2000)

      delay.play (2000)

      sym.play

       

      sym.stop(3000)

      delay.play (2000)

      sym.play

       

      Cause I dont know how to elaborate a function in jquery i pray for your help.

       

      Thx