<?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: 360Flex Item Renderers Session Slides and Code</title>
	<atom:link href="http://joshblog.net/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshblog.net/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 21 May 2012 15:06:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: James Echmalian</title>
		<link>http://joshblog.net/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/#comment-892</link>
		<dc:creator>James Echmalian</dc:creator>
		<pubDate>Fri, 14 Mar 2008 16:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeuslabs.us/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/#comment-892</guid>
		<description>Thanks for publishing this, Josh.  We&#039;ll be referring to your source code as we build a scrolling item renderer component for very large data sets.  &quot;We&quot; is a small group of developers here at Allurent.</description>
		<content:encoded><![CDATA[<p>Thanks for publishing this, Josh.  We&#8217;ll be referring to your source code as we build a scrolling item renderer component for very large data sets.  &#8220;We&#8221; is a small group of developers here at Allurent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thiru</title>
		<link>http://joshblog.net/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/#comment-891</link>
		<dc:creator>Thiru</dc:creator>
		<pubDate>Wed, 12 Mar 2008 07:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeuslabs.us/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/#comment-891</guid>
		<description>Hi Josh

Thanks for sparing some time and replay to my queries, regarding increasing the size of the tilelist, as I mentioned in my previous post, when I am selecting one slide from a bungle the slides belong to the same bundle should also want to be selected for dragging, we are using &quot;indexToItemRenderer&quot; get the reference of the indexToItemRenderer to update its properties, but if other slides are not visible(means outside the display area) and if I am not increasing the size of the tilelist to get the default benefit(memory management), I will not able to get the reference of the itemrenderers since its not there, so I will get null reference error, to avoid this only I am increasing the size of the tilelist.

Thanks
Thiru</description>
		<content:encoded><![CDATA[<p>Hi Josh</p>
<p>Thanks for sparing some time and replay to my queries, regarding increasing the size of the tilelist, as I mentioned in my previous post, when I am selecting one slide from a bungle the slides belong to the same bundle should also want to be selected for dragging, we are using &#8220;indexToItemRenderer&#8221; get the reference of the indexToItemRenderer to update its properties, but if other slides are not visible(means outside the display area) and if I am not increasing the size of the tilelist to get the default benefit(memory management), I will not able to get the reference of the itemrenderers since its not there, so I will get null reference error, to avoid this only I am increasing the size of the tilelist.</p>
<p>Thanks<br />
Thiru</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/#comment-890</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Wed, 12 Mar 2008 03:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeuslabs.us/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/#comment-890</guid>
		<description>Thiru, it simply sounds like you need to focus on improving your code. It seems complex enough from your description, however, that I can only give you some simple guidance.

First, if each item renderer individually consists of multiple Canvases, HBoxes, VBoxes, and Spacers, I&#039;m 100% certain you can do it better. That many containers for a single item renderer is simply unacceptable. Even if it&#039;s a pain, positioning everything manually in ActionScript will probably boost your performance significantly.

Second, with item renderers so complex, I have a very strong feeling that you might be suffering from memory leaks. I have no specific advice in this area. Just be on the lookout for event listeners that may not be removed.
&lt;blockquote cite=&quot;Thiru&quot;&gt;&lt;p&gt;As per our requirement we increase the size of the tilelist component, so that it does not unload the items which is not visible, we are manipulating the parent of the tilelist the canvas to display scrollbar for scrolling the tilelist component itself.&lt;/p&gt;&lt;/blockquote&gt;

Why can&#039;t you &quot;unload the items&quot;? The standard TileList behavior of reusing item renderers is very beneficial for both CPU and memory usage.

In short, what I get out of your description is that you&#039;re probably making things too complex. Simplify, work a little closer to the standard Flash Player APIs rather than using Flex containers, and make sure you&#039;re allowing the garbage collector to collect when it must.</description>
		<content:encoded><![CDATA[<p>Thiru, it simply sounds like you need to focus on improving your code. It seems complex enough from your description, however, that I can only give you some simple guidance.</p>
<p>First, if each item renderer individually consists of multiple Canvases, HBoxes, VBoxes, and Spacers, I&#8217;m 100% certain you can do it better. That many containers for a single item renderer is simply unacceptable. Even if it&#8217;s a pain, positioning everything manually in ActionScript will probably boost your performance significantly.</p>
<p>Second, with item renderers so complex, I have a very strong feeling that you might be suffering from memory leaks. I have no specific advice in this area. Just be on the lookout for event listeners that may not be removed.</p>
<blockquote cite="Thiru"><p>As per our requirement we increase the size of the tilelist component, so that it does not unload the items which is not visible, we are manipulating the parent of the tilelist the canvas to display scrollbar for scrolling the tilelist component itself.</p>
</blockquote>
<p>Why can&#8217;t you &#8220;unload the items&#8221;? The standard TileList behavior of reusing item renderers is very beneficial for both CPU and memory usage.</p>
<p>In short, what I get out of your description is that you&#8217;re probably making things too complex. Simplify, work a little closer to the standard Flash Player APIs rather than using Flex containers, and make sure you&#8217;re allowing the garbage collector to collect when it must.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thiru</title>
		<link>http://joshblog.net/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/#comment-889</link>
		<dc:creator>Thiru</dc:creator>
		<pubDate>Tue, 11 Mar 2008 16:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeuslabs.us/2008/03/01/flex-item-renderers-presentation-by-josh-tynjala-360flex-atlanta/#comment-889</guid>
		<description>Hi Josh Tynjala

Thanks for the article, since we are scratching our head, why the application is taking so much of memory some times event the computer get crashed , or its showing the system a lot.
Now I figured out that because of the MXML based Itemrendere we are using causes this crash.

The application we are developing has a custom tilelist component, which loads a mxml heavy itemrenderer  which is used to display the powerpoint slides(ranges from 60 to 120) jpg images, there are rules to be applied so lots of drawing api code is used to draw lines, and we are selecting the itemrenderers in different combinations like if u select one item and if it belongs to a family of bundles say 8 all are getting selected, for highlighting the selection we will be drawing 8 yellow rectangles, and other 2 type of complicated bundle rules.
As per our requirement we increase the size of the tilelist component, so that it does not unload the items which is not visible, we are manipulating the parent of the tilelist the canvas to display scrollbar for scrolling the tilelist component itself. So say if the tilelist has 50 items , all the 50 items are always in memory.

When I used profile to see whats happening, each itemrenderers, has more then 200 items it. , initially the application was developed using flex 2.0, then 3 days after reading some blogs we ported to flex 3.0 to see any improvement but nothing much.
I donâ€™t know why adobe did not handled this kind of a big problem, its not removing the old items,  donâ€™t know from where its get created
actually in design time the itemrender has 8 image component to display 7 thumb nail images according to the rules set for each itemrender  in runtime, 3 canvas , 4 hbox and 1 vbox and 3 spacers for alignments.

I taken ur advice to convert it into actionscript class, I like to have ur advice so that, whenever each itemrenderer is loaded into the tilelist component the  Page File usage of the windows will not rice my 10 md which never reduce  and on each drag and drop the Page File usage of the windows should not increase 15 to 20 mb,even on every action CPU usage should not touch 100%.
Please suggest me how to go about creating custom actionscript based Itemrenderer which does not take more memory.

Thanks
Thiru</description>
		<content:encoded><![CDATA[<p>Hi Josh Tynjala</p>
<p>Thanks for the article, since we are scratching our head, why the application is taking so much of memory some times event the computer get crashed , or its showing the system a lot.<br />
Now I figured out that because of the MXML based Itemrendere we are using causes this crash.</p>
<p>The application we are developing has a custom tilelist component, which loads a mxml heavy itemrenderer  which is used to display the powerpoint slides(ranges from 60 to 120) jpg images, there are rules to be applied so lots of drawing api code is used to draw lines, and we are selecting the itemrenderers in different combinations like if u select one item and if it belongs to a family of bundles say 8 all are getting selected, for highlighting the selection we will be drawing 8 yellow rectangles, and other 2 type of complicated bundle rules.<br />
As per our requirement we increase the size of the tilelist component, so that it does not unload the items which is not visible, we are manipulating the parent of the tilelist the canvas to display scrollbar for scrolling the tilelist component itself. So say if the tilelist has 50 items , all the 50 items are always in memory.</p>
<p>When I used profile to see whats happening, each itemrenderers, has more then 200 items it. , initially the application was developed using flex 2.0, then 3 days after reading some blogs we ported to flex 3.0 to see any improvement but nothing much.<br />
I donâ€™t know why adobe did not handled this kind of a big problem, its not removing the old items,  donâ€™t know from where its get created<br />
actually in design time the itemrender has 8 image component to display 7 thumb nail images according to the rules set for each itemrender  in runtime, 3 canvas , 4 hbox and 1 vbox and 3 spacers for alignments.</p>
<p>I taken ur advice to convert it into actionscript class, I like to have ur advice so that, whenever each itemrenderer is loaded into the tilelist component the  Page File usage of the windows will not rice my 10 md which never reduce  and on each drag and drop the Page File usage of the windows should not increase 15 to 20 mb,even on every action CPU usage should not touch 100%.<br />
Please suggest me how to go about creating custom actionscript based Itemrenderer which does not take more memory.</p>
<p>Thanks<br />
Thiru</p>
]]></content:encoded>
	</item>
</channel>
</rss>

