<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>removeAllChildren</title>
		<link>http://ericd.wikidot.com/forum/t-42863/removeallchildren</link>
		<description>Posts in the discussion thread &quot;removeAllChildren&quot;</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://ericd.wikidot.com/forum/t-42863#post-111861</guid>
				<title>removeAllChildren</title>
				<link>http://ericd.wikidot.com/forum/t-42863/removeallchildren#post-111861</link>
				<description></description>
				<pubDate>Fri, 22 Feb 2008 14:58:50 +0000</pubDate>
				<wikidot:authorName>edolecki</wikidot:authorName>				<wikidot:authorUserId>85428</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Flex has removeAllChildren, but outside of Flex, you need to roll your own for now. An example.</p> <div class="code"> <pre> <code>private function removeAllChildren( containerObj:* ):void { while ( containerObj.numChildren &gt; 0 ) { container.removeChildAt(0); // Of course this does not ensure Garbage Collection, // You'll still need to provide this logic. } }</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>