[flexcoders] Question about RemoveChild

2006-03-23 Thread Richard Schutten
Hi,

I want to delete dynamically created buttons. The documentation of Flex
says: Removing a child does not delete it, so you can redisplay it later
without recreating it.

So if RemoveChild doesn't delete them how can i do so?


Greetings,

Richard



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Question about RemoveChild

2006-03-23 Thread Gordon Smith
I assume this is Flex 2. If you've called removeChild() or
removeChildAt() and you don't have any other references to this child,
it will get garbage collected at some point. But if you've stored a
reference to that child on some object, it won't go away.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Schutten
Sent: Thursday, March 23, 2006 12:32 AM
To: [EMAIL PROTECTED] Com
Subject: [flexcoders] Question about RemoveChild

Hi,

I want to delete dynamically created buttons. The documentation of Flex
says: Removing a child does not delete it, so you can redisplay it later
without recreating it.

So if RemoveChild doesn't delete them how can i do so?


Greetings,

Richard



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/