7 Replies Latest reply on Dec 28, 2012 11:10 AM by joel_pau

    create a symbol and change its id

    richgizmo

      Hi edge people

       

      I know how to create a symbol dynamicly but I want to change the id of the element to something other then random

      var mySymbolObject = sym.createChildSymbol("imageBox","stage");

      mySymbolObject.setVariable("id", "newname");

       

      I need to do this so I can access the element later

       

      Sorry for the simple question