3 Replies Latest reply on Aug 11, 2014 10:55 AM by smenegassi

    how to delete a symbol with a click of a inside button

    smenegassi Level 1



      I have this Symbol with a button inside. I want to click on this button and delete the Symbol.

      I have the code below but it doesn't work.

      sym.getComposition().getStage().getSymbol("vitrine_content").$("cachedarmes_movie").delete Symbol();


      if I try to do animate the symbol. It works :

      sym.getComposition().getStage().getSymbol("vitrine_content").$("cachedarmes_movie").animat e({'left':'200px'});


      And I don't see why..