1 Reply Latest reply on Jul 27, 2007 2:45 PM by ntsiii

    Deleting objects from the stage

    TheTyrant
      Hi all,

      I've got some items on my stage that I'm removing with RemoveChild(). The items no longer show, however, as stated in LiveDocs, the item is not actually destroyed. This means any bindings/listeners created by that object are still in existence and are creating errors (Specifically, I'm getting "The supplied DisplayObject must be a child of the
      caller").

      LiveDocs mentions that if I want to actually delete an object from the stage entirely, I should use the "delete operator", but for the life of me, I can not find any documentation on the existence of such an operator. Any advice would be much appreciated.

      -Hob