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

createChildSymbol

$
0
0

Hi,

 

I need help to test if the element intel1 contains no child symbols,otherwise i need to delete it before i create a new child.

 

Thanks!

 

if(sym.$("intel1").length==0){

     sym.createChildSymbol("server", "intel1");

}else{

     sym.getSymbol("intel1").getSymbol("server").deleteSymbol();

     sym.createChildSymbol("server", "intel1");

};


Viewing all articles
Browse latest Browse all 9897

Trending Articles