1 Reply Latest reply on Oct 9, 2013 7:47 PM by resdesign

    Jumping to a label on Main timeline from the symbol

    amber_abb

      Screen shot 2013-10-09 at 5.37.22 PM.png

      In my main time line above, when a certain button is pressed, the playhead jumps to the label "redColor" and plays the animation symbol "redAnimation".

       

      Below, you can see that at the end of the "redAnimation" symbol, a green back button appears. Thats what I want in all other animations. A green button appearing at the end. But when I click the green button, I want to jump it to the main stage at the beginning label "cloudStart".

       

      Screen shot 2013-10-09 at 5.38.19 PM.png

      right now, if I put the following code, it does not work.

      // play the timeline from the given position (ms or label)

      sym.play("colorStart");

       

      Im assuming that is because I am trying to jump from "stage/regAnimation" to "stage"

       

      Please help me. I cant have the button on the main stage because I only need to to appear at certain times and that depends on the different lengths of the misc animations

       

      Thanks