Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

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

$
0
0

Hello,

 

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..

thanks

s.


Viewing all articles
Browse latest Browse all 9897

Trending Articles