6 Replies Latest reply on Oct 3, 2012 11:02 AM by resdesign

    change text in dynamic symbol

    steveny1628

      Hi All,

       

      I create a symbol and have a text field element called 'copy' nested inside the symbol

      When I dynamically create an instance of that symbol and place it on stage, how can I also change the copy at any given time.

       

      I have tried this:

       

      sym.createChildSymbol('box','Stage');

      var box1 = box.getSymbolElement('box');

      box1.$('copy').html('hello');

       

      Can anyone help.

       

      Thanks in advance.

       

      Steve