0 Replies Latest reply on Feb 25, 2007 9:35 PM by prashantkoshta

    destroyObject() for Combobox is not working

    prashantkoshta


      Hi Friend,
      Can some one help to me. I have created a dynamic combobox and then destroy it by using the destroyObject("combobox") that is not destroy the object.

      Some on guide me how to delete combobox.

      My code is like :

      import mx.controls.ComboBox;
      var temp=this.createClassObject(ComboBox, "combobox",50);
      trace(this["combobox"]);
      destroyObject("combobox");
      trace(this["combobox"]);

      Please reply me ASAP. I know it is pretty sock able.