                    <?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Way&#039;s Blog &#187; ArrayCollection</title>
	<atom:link href="http://way.cubeforge.net/blog/category/arraycollection/feed/" rel="self" type="application/rss+xml" />
	<link>http://way.cubeforge.net/blog</link>
	<description>Hong Kong Adobe Flex Developer</description>
	<lastBuildDate>Fri, 06 Jan 2012 04:04:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Copying an ArrayCollection</title>
		<link>http://way.cubeforge.net/blog/2008/08/copying-an-arraycollection/</link>
		<comments>http://way.cubeforge.net/blog/2008/08/copying-an-arraycollection/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 09:03:00 +0000</pubDate>
		<dc:creator>Way</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[ArrayCollection]]></category>
		<category><![CDATA[Flex Note]]></category>

		<guid isPermaLink="false">http://way.cubeforge.net/blog/?p=246</guid>
		<description><![CDATA[There are multiple ways to copy an arraycollection .. 1. ac1 = ac2;2. ac1 = new ArrayCollection (ac2.source);3. ac1 = ObjectUtil.copy (ac2) as ArrayCollection; Method 1 copy the ac by reference.Method 2 will create an new ac instance, but the value (array) inside two ac are still the same.Method 3 will create completely two different [...]]]></description>
			<content:encoded><![CDATA[<p>There are multiple ways to copy an arraycollection ..</p>
<p>1.  ac1 = ac2;<br />2. ac1 = new ArrayCollection (ac2.source);<br />3. ac1 = ObjectUtil.copy (ac2) as ArrayCollection;</p>
<p>Method 1 copy the ac by reference.<br />Method 2 will create an new ac instance, but the value (array) inside two ac are still the same.<br />Method 3 will create completely two different objects.</p>
]]></content:encoded>
			<wfw:commentRss>http://way.cubeforge.net/blog/2008/08/copying-an-arraycollection/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

