<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Chat on Performance Pitfalls of Flex&#8217;s ArrayCollection</title>
	<atom:link href="http://gorillajawn.com/wordpress/2008/11/20/chat-on-performance-pitfalls-of-flexs-arraycollection/feed/" rel="self" type="application/rss+xml" />
	<link>http://gorillajawn.com/wordpress/2008/11/20/chat-on-performance-pitfalls-of-flexs-arraycollection/</link>
	<description>Enterprise Software Consultant</description>
	<lastBuildDate>Mon, 15 Mar 2010 20:02:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: codecraig</title>
		<link>http://gorillajawn.com/wordpress/2008/11/20/chat-on-performance-pitfalls-of-flexs-arraycollection/comment-page-1/#comment-20569</link>
		<dc:creator>codecraig</dc:creator>
		<pubDate>Mon, 24 Nov 2008 03:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=137#comment-20569</guid>
		<description>Ever try this?

var data:Array = getDataFromSomewher();

// dgAC - ArrayCollection bound to a DataGrid

for each ( var tmp:MyDomainObject in data ) {
    dgAC.source.push( tmp );
}
dgAC.refresh();

This will add the stuff from &#039;data&#039; into the Array that the &#039;dgAC&#039; ArrayCollection wraps without firing events.  Then the call to &#039;refresh&#039; fires off an event telling whoever is listening that the contents changed!

Ever try that??</description>
		<content:encoded><![CDATA[<p>Ever try this?</p>
<p>var data:Array = getDataFromSomewher();</p>
<p>// dgAC &#8211; ArrayCollection bound to a DataGrid</p>
<p>for each ( var tmp:MyDomainObject in data ) {<br />
    dgAC.source.push( tmp );<br />
}<br />
dgAC.refresh();</p>
<p>This will add the stuff from &#8216;data&#8217; into the Array that the &#8216;dgAC&#8217; ArrayCollection wraps without firing events.  Then the call to &#8216;refresh&#8217; fires off an event telling whoever is listening that the contents changed!</p>
<p>Ever try that??</p>
]]></content:encoded>
	</item>
</channel>
</rss>
