[EMAIL PROTECTED] Thu Apr 08 09:59:07 2004
Return-Path: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
X-Apparently-To: [email protected]
Received: (qmail 89817 invoked from network); 8 Apr 2004 16:04:05 -0000
Received: from unknown (66.218.66.172)
  by m7.grp.scd.yahoo.com with QMQP; 8 Apr 2004 16:04:05 -0000
Received: from unknown (HELO n25.grp.scd.yahoo.com) (66.218.66.81)
  by mta4.grp.scd.yahoo.com with SMTP; 8 Apr 2004 16:04:05 -0000
Received: from [66.218.67.163] by n25.grp.scd.yahoo.com with NNFMP; 08 Apr 2004 
16:02:53 -0000
Date: Thu, 08 Apr 2004 16:02:50 -0000
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
User-Agent: eGroups-EW/0.82
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Length: 750
X-Mailer: Yahoo Groups Message Poster
X-eGroups-Remote-IP: 66.218.66.81
From: "jeff tapper" <[EMAIL PROTECTED]>
X-Originating-IP: 168.100.170.226
Subject: Problems with destroyObject()?
X-Yahoo-Group-Post: member; u=180891050
X-Yahoo-Profile: jefftappernyc

Has anyone noticed problems with using the uiobject method destroy 
object? In my tests, it doesnt seem to be working.

var newAcc = this.createEmptyObject(String
(accessory.partNumber),DepthManager.kBottom);
aVisibleAccessories.push(newAcc);

function removeAccessoryByIndex(index:Number){
trace("removeAccessoryByIndex()");
trace(aVisibleAccessories[index]);
this.destroyObject(aVisibleAccessories[index]);
trace(aVisibleAccessories[index]);
}

when i call removeAccessoryByIndex, the trace statements before and 
after the destroy object calls are showing the same clip. Am I 
using this wrong?

the object I've created does itself contain other objects, do i need 
to destroy them first for this to work? Any help appreciated.

thanks


Reply via email to