Use variable for symbol name


i trying reference symbol element looks this:

 

elementname = variablename + "menu";

var menuchoice = sym.getsymbol('printmenu').$(elementname);

 

when console.log ("menuchoice" + menuchoice)

object object

 

how accomplish using variable symbol name?

so have menu symbol different choices in it?



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?