3 Replies Latest reply on Apr 1, 2013 3:00 AM by AhMei99

    Close symbol on click

    AhMei99

      Hi,

       

      I've just started using Edge Animate and I'm facing a simple issue which I cannot find a solution.

       

      http://gulin.sg/andrea/edge/publish/web/closeSymbol.html

       

      I have a image symbol on a stage. And when I click on symbol, the animation within the symbol plays. I have a ''button" (grey rectangle) to click to close the symbol and return to stage.

       

      My issue is, I cannot get the close to work!

       

      To play the symbol, on click, I have "sym.getSymbol("nano").play();".

       

      On my close button, I've tried :

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

      "sym.getParentSymbol().play();"

       

      it all doesn't work! Somehow it just loops on playing the symbol!

       

      How do I close the symbol and return to stage?

       

      Thanks in advance for any help. Appreciated.