5 Replies Latest reply on Apr 20, 2009 1:24 PM by wvxvw

    Best way to detect if a child created exist in a DisplayList

    webvalue

      Hi,

       

      I am using addChild to add something to something. But it should be one only. So I need to detect whether there has already been one added. What is the best way to detect this?  I tried several things but not working . such as

       

      if (nameOfObj)

       

      of this.nameOfObj

       

      etc.