0 Replies Latest reply on May 15, 2013 10:31 AM by keberg

    How to control the main timeline from within a symbol?

    keberg Level 1

      I have a small world map as a symbol called "verden" and I want the user to click Europe, Asia, or Africa and jump to named labels in the main timeline.

      http://www.dagbladet.no/grafikk/neshorn/neshorn.html

      On the main timeline a have the label "intro" with a Stop action and the label "europa". At label "europa" I have a symbol also called "europa" which has a display of None at label "intro" and On at the label "europa".

      The animation never goes to label "europa"

       

      I have this code on europa in the symbol "verden" :

      // insert code for mouse click here

      sym.getComposition().getStage().getSymbol("europa").play("europa");

       

      The files are on Dropbox here

       

      Update, now it works:

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