<?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: Tutorial: DisplayShelf Component</title>
	<atom:link href="http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quietlyscheming.com/blog</link>
	<description>simple plans for world domination</description>
	<lastBuildDate>Fri, 04 Dec 2009 11:48:43 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniel</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-271503</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 30 Oct 2009 13:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-271503</guid>
		<description>First: Thanks for this coverflow component. But unfortunately it has a memory leak, so loading new sets of images, won&#039;t delete the old images properly before.

I solved it this way:
inside DisplayShelf.commitProperties() change the cleanup loop from:

for(i = numChildren-1;i&gt;=0;i--)
{
	removeChildAt(numChildren-1);
}

to

for(i = numChildren-1;i&gt;=0;i--)
{
	(_children[i] as TiltingPane).remove();
	removeChildAt(i);
}

inside  TiltingPane add function remove:

public function remove():void
{
	if(_content != null)
	{
		// remove it from our display tree.
		removeChild(_content);
		// stop listening for update events.
		_content.removeEventListener(FlexEvent.UPDATE_COMPLETE,contentUpdateHandler);
	}
}</description>
		<content:encoded><![CDATA[<p>First: Thanks for this coverflow component. But unfortunately it has a memory leak, so loading new sets of images, won&#8217;t delete the old images properly before.</p>
<p>I solved it this way:<br />
inside DisplayShelf.commitProperties() change the cleanup loop from:</p>
<p>for(i = numChildren-1;i&gt;=0;i&#8211;)<br />
{<br />
	removeChildAt(numChildren-1);<br />
}</p>
<p>to</p>
<p>for(i = numChildren-1;i&gt;=0;i&#8211;)<br />
{<br />
	(_children[i] as TiltingPane).remove();<br />
	removeChildAt(i);<br />
}</p>
<p>inside  TiltingPane add function remove:</p>
<p>public function remove():void<br />
{<br />
	if(_content != null)<br />
	{<br />
		// remove it from our display tree.<br />
		removeChild(_content);<br />
		// stop listening for update events.<br />
		_content.removeEventListener(FlexEvent.UPDATE_COMPLETE,contentUpdateHandler);<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharathchandra</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-206661</link>
		<dc:creator>sharathchandra</dc:creator>
		<pubDate>Mon, 24 Nov 2008 09:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-206661</guid>
		<description>&lt;p&gt;Great application.Can we use this in any of our application?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great application.Can we use this in any of our application?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleori</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-196648</link>
		<dc:creator>Aleori</dc:creator>
		<pubDate>Mon, 03 Nov 2008 23:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-196648</guid>
		<description>&lt;p&gt;This app is pretty amazing, thanks for make it an open source, to much to learn from it.
I ran in the problem of resizing the images but I solved using the Tomas Joos resizing code from:
http://vilebody.wordpress.com/2007/11/07/flash-actionscript-3-proportional-image-resizing/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This app is pretty amazing, thanks for make it an open source, to much to learn from it.<br />
I ran in the problem of resizing the images but I solved using the Tomas Joos resizing code from:<br />
<a href="http://vilebody.wordpress.com/2007/11/07/flash-actionscript-3-proportional-image-resizing/" rel="nofollow">http://vilebody.wordpress.com/2007/11/07/flash-actionscript-3-proportional-image-resizing/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JSP Proxy code for sourcing cross-domain Images &#171; FLEXing My Muscle</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-53699</link>
		<dc:creator>JSP Proxy code for sourcing cross-domain Images &#171; FLEXing My Muscle</dc:creator>
		<pubDate>Thu, 11 Oct 2007 10:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-53699</guid>
		<description>&lt;p&gt;[...] JSP Proxy code for sourcing cross-domain&#160;Images  Sudheer and some guys from IITB were building some UI in Flex. They had a case where they were getting some photos from a server in another domain and then giving it to the DisplayShelf component by Ely to display in a cool UI. But when they tried to flip through the pictures using the interface, it threw an error as below. SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://rrao01:8080/test/BugProject.swf cannot access http://www.theflexshow.com/blog/images/the_flex_show.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. at flash.display::BitmapData/draw() [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] JSP Proxy code for sourcing cross-domain&nbsp;Images  Sudheer and some guys from IITB were building some UI in Flex. They had a case where they were getting some photos from a server in another domain and then giving it to the DisplayShelf component by Ely to display in a cool UI. But when they tried to flip through the pictures using the interface, it threw an error as below. SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: <a href="http://rrao01:8080/test/BugProject.swf" rel="nofollow">http://rrao01:8080/test/BugProject.swf</a> cannot access <a href="http://www.theflexshow.com/blog/images/the_flex_show.jpg" rel="nofollow">http://www.theflexshow.com/blog/images/the_flex_show.jpg</a>. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. at flash.display::BitmapData/draw() [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 1Stein.org &#187; FlickrFlow</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-53591</link>
		<dc:creator>1Stein.org &#187; FlickrFlow</dc:creator>
		<pubDate>Wed, 10 Oct 2007 14:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-53591</guid>
		<description>&lt;p&gt;[...] Basically it uses the beta of Flex 3 and the DisplayShelf component, and some glue to get Flickr pictures into it. The source code is here: http://flickr.1stein.org/flickrflow/srcview. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Basically it uses the beta of Flex 3 and the DisplayShelf component, and some glue to get Flickr pictures into it. The source code is here: <a href="http://flickr.1stein.org/flickrflow/srcview" rel="nofollow">http://flickr.1stein.org/flickrflow/srcview</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Useful links &#171; Guavus</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-44585</link>
		<dc:creator>Useful links &#171; Guavus</dc:creator>
		<pubDate>Tue, 18 Sep 2007 14:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-44585</guid>
		<description>&lt;p&gt;[...] DisplayShelf Component http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/ [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] DisplayShelf Component <a href="http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/" rel="nofollow">http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wheeler Street &#187; Blog Archive &#187; Flex Custom Data Rendering Component: Tip #1 and #2</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-38465</link>
		<dc:creator>Wheeler Street &#187; Blog Archive &#187; Flex Custom Data Rendering Component: Tip #1 and #2</dc:creator>
		<pubDate>Sun, 26 Aug 2007 04:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-38465</guid>
		<description>&lt;p&gt;[...] Tip #1: Research I would have to highly recommend Ely&#8217;s blog and look in the code he spent some serious time commenting. Especially check out the Display Shelf tutorial. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Tip #1: Research I would have to highly recommend Ely&#8217;s blog and look in the code he spent some serious time commenting. Especially check out the Display Shelf tutorial. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#160; List of 31 Flex APIs, Libraries, Components and Tools&#160;by&#160;Sean // the flash guy</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-37731</link>
		<dc:creator>&#160; List of 31 Flex APIs, Libraries, Components and Tools&#160;by&#160;Sean // the flash guy</dc:creator>
		<pubDate>Wed, 22 Aug 2007 04:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-37731</guid>
		<description>&lt;p&gt;[...] DisplayShelf Component Provides a rich, templatable control to display a faux-3d view of a list of items http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/ [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] DisplayShelf Component Provides a rich, templatable control to display a faux-3d view of a list of items <a href="http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/" rel="nofollow">http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2007-08-10 &#124; giancarlo.dimassa.net</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-35620</link>
		<dc:creator>links for 2007-08-10 &#124; giancarlo.dimassa.net</dc:creator>
		<pubDate>Fri, 10 Aug 2007 00:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-35620</guid>
		<description>&lt;p&gt;[...] Quietly Scheming Â» Tutorial: DisplayShelf Component (tags: flex flash as3 actionscript flex2 components slideshow photo album amazing apple animation browser blogs) [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Quietly Scheming Â» Tutorial: DisplayShelf Component (tags: flex flash as3 actionscript flex2 components slideshow photo album amazing apple animation browser blogs) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SÃ¶nke Rohde &#187; iTunes like DisplayShelf Flex Component</title>
		<link>http://www.quietlyscheming.com/blog/components/tutorial-displayshelf-component/comment-page-1/#comment-34141</link>
		<dc:creator>SÃ¶nke Rohde &#187; iTunes like DisplayShelf Flex Component</dc:creator>
		<pubDate>Wed, 01 Aug 2007 08:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietlyscheming.com/blog/tutorial-displayshelf-component/#comment-34141</guid>
		<description>&lt;p&gt;[...] Ely Greenfield made a wonderful component which exactly does it. He calls the component DisplayShelf and you find his blog post here with source and example.  Bookmark to:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;   - Posted in Flash, Flex by SÃ¶nke &#160; [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Ely Greenfield made a wonderful component which exactly does it. He calls the component DisplayShelf and you find his blog post here with source and example.  Bookmark to:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   &#8211; Posted in Flash, Flex by SÃ¶nke &nbsp; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
