« Return to Thread: Dynamic effects on a material

Re: removeChildByName??????????????

by Daniel O' Brian :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Try

 

removeChild(getChildByName(‘instanceName’));

 

or if you’re looping through a range of objects

 

var n:uint  = 1;

while(getChildByName(‘instanceName’+n) {

removeChild(getChildByName(‘instanceName’+n));

n++;

}

 

D


From: papervision3d-bounces@... [mailto:papervision3d-bounces@...] On Behalf Of Avery
Sent: 04 June 2008 09:11
To: papervision3d@...
Subject: [Papervision3D] removeChildByName??????????????

 

had anyone got the RemoveChildByName method of the DisplayObjectContainer3D class to work? I have been pulling my hair out trying to remove displayObject3D instances.

My Portfolio Website

 


This email transmission is confidential and intended solely
for the person or organisation to whom it is addressed. If you
are not the intended recipient, you must not copy, distribute
or disseminate the information, or take any action in relation
to it and please delete this e-mail. Any views expressed in
this message are those of the individual sender, except where
the sender specifically states them to be the views of any
organisation or employer. If you have received this message
in error, do not open any attachment but please notify the
sender (above). This message has been checked for all known
viruses powered by Messagelabs. For further information
visit www.messagelabs.com/stats.asp Please rely on your own
virus check as no responsibility is taken by the sender for
any damage rising out of any virus infection this communication
may contain.

LIDA Ltd 36 Golden Square, Soho, London, W1F 9EE, United Kingdom
Reg No. 03860916, registered in the United Kingdom.

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

 « Return to Thread: Dynamic effects on a material