2 Replies Latest reply on May 22, 2013 12:23 PM by resdesign

    How do you reference the default timeline's current time?

    TrueResh

      I'm trying to use the default timeline's current time inside an if-statement's validation code (the code itself being inside a symbol), but I can't seem to find a way to reference the default timeline's current time.

       

      My code would be something along the lines of this:

       

      (upon clicking the buttton)

       

      if (default timeline > 1 second and default timeline < 6 seconds)

      {

           play default timeline at 6 seconds

      }

      else if (default timeline > 6 seconds and < 11 seconds)

      {

           play default timeline at 11 seconds

      }

      etc...