8 Replies Latest reply on Mar 10, 2014 9:11 PM by ysk8

    what is the best way to delete dynamically-generated symbols from another symbol?

    Lloydie73 Level 1

      in the onClick handler for 1 symbol, I have:


      var sandwhichQty1 = sym.createChildSymbol("sandQty1", "Stage");


      another symbol inside sandQty1 has the onClick method:




      which works fine, deleting sandQty1. I'd like to delete it, and others, from another button, in the circumstance where users don't close them this way.


      I notice that id and class are dynamically assigned to the child symbol, which makes it hard for me.


      any ideas?