5 Replies Latest reply on Oct 13, 2013 3:14 PM by resdesign

    play timeline from inside symbol

    amber_abb Level 1

      I saw a post on this issue but was not sure where to put the code I read there. I would appreciate if you can tell me how exactly to edit this code line to work

       

      I am inside a symbol "oneAnimation". At the end of the animation "backBtn1" appears. Inside this button, I have added an event on click. I want the stage timeline to play from the label "startNumber" when this button inside the symbol is clicked.

       

      So far it's not jumping back to the main time line.

       

      sym.getComposition().getStage().play("startNumber");

       

      Screen shot 2013-10-13 at 3.19.02 PM.png