<?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: Performance Issues Using the Flex Component Kit for Flash</title>
	<atom:link href="http://scalenine.com/blog/2009/03/05/performance-issues-using-the-flex-component-kit-for-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://scalenine.com/blog/2009/03/05/performance-issues-using-the-flex-component-kit-for-flash/</link>
	<description>The latest about ScaleNine</description>
	<lastBuildDate>Tue, 08 Dec 2009 17:51:47 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan Frishberg</title>
		<link>http://scalenine.com/blog/2009/03/05/performance-issues-using-the-flex-component-kit-for-flash/comment-page-1/#comment-155557</link>
		<dc:creator>Ryan Frishberg</dc:creator>
		<pubDate>Fri, 06 Mar 2009 01:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://scalenine.com/blog/?p=310#comment-155557</guid>
		<description>Hey Juan,

You should take a look at the UIMovieClip code.  In it you&#039;ll see there&#039;s an enterFrameHandler.  Basically in the Flex world, we have this nice contract of invalidation/validation and notification of when my size changes (you call invalidateSize()).  However, in the Flash world, this doesn&#039;t exist, so every frame UIMovieClip is asking: &quot;hey, have you changed size?&quot;.

I&#039;ll look at how this process can be improved in the future to better optimize these scenarios where you want lots of these flash components.  Part of it is that the Flex Component Kit for Flash just wasn&#039;t made for having so many of them at the same time.  For now, I&#039;d say you should monkeypatch UIMovieClip.as.  Then, modify the file to either set trackSizeChanges to false or to remove the enterFrameHandler all-together.

Hope that helps,
Ryan</description>
		<content:encoded><![CDATA[<p>Hey Juan,</p>
<p>You should take a look at the UIMovieClip code.  In it you&#8217;ll see there&#8217;s an enterFrameHandler.  Basically in the Flex world, we have this nice contract of invalidation/validation and notification of when my size changes (you call invalidateSize()).  However, in the Flash world, this doesn&#8217;t exist, so every frame UIMovieClip is asking: &#8220;hey, have you changed size?&#8221;.</p>
<p>I&#8217;ll look at how this process can be improved in the future to better optimize these scenarios where you want lots of these flash components.  Part of it is that the Flex Component Kit for Flash just wasn&#8217;t made for having so many of them at the same time.  For now, I&#8217;d say you should monkeypatch UIMovieClip.as.  Then, modify the file to either set trackSizeChanges to false or to remove the enterFrameHandler all-together.</p>
<p>Hope that helps,<br />
Ryan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
