createChildSymbol manipulation


hello, need move symbol dynamically created, tried doesn't work

 

sym.createchildsymbol("button","menu");

sym.$("menu")[0].css('left','180px'); // not working

sym.$("menu")[1].css('left','180px'); // not working

 

any idea ?

thank

hi,

 

sym.createchildsymbol(symbolname, parentelementname, index)

symbols.png

1) creating symbols:

var instance = sym.createchildsymbol("button", "menu");

instance.getsymbolelement().css("left", "180px");

 

2) symbols created, so:

var children = sym.getcomposition().getsymbols("button");

children[0].getsymbolelement().css("left", "180px");



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Reader DC

AdobeIDの作り方

Adobe InDesign CC 2017 has stopped working