<?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: Flex 2 Component - Draggable TabBar with close button</title>
	<atom:link href="http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/feed/" rel="self" type="application/rss+xml" />
	<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/</link>
	<description>a dedicated Flash&#124;Flex Rich Internet Application Blog from a senior Flex RIA developer/instructor</description>
	<pubDate>Wed, 07 Jan 2009 20:17:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Medal</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-33040</link>
		<dc:creator>Medal</dc:creator>
		<pubDate>Wed, 18 Jul 2007 05:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-33040</guid>
		<description>Great!! 很棒的组件，收藏了，谢谢！</description>
		<content:encoded><![CDATA[<p>Great!! 很棒的组件，收藏了，谢谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-24905</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Thu, 10 May 2007 17:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-24905</guid>
		<description>Great job!</description>
		<content:encoded><![CDATA[<p>Great job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremy</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-2400</link>
		<dc:creator>jeremy</dc:creator>
		<pubDate>Thu, 10 Aug 2006 10:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-2400</guid>
		<description>btw, another thing to note while dealing with memory in Flex 2.

when flex application starts, it gets an certain amount of memory from the system, garbage collector will not kick in right after a display object is removed from the list.

there are basically two rules, first is when the memory allocated are all used, GC will kick in, another is when the reference conunting table is full, GC will kick in.

so if you want to test with creating and removing popup windows, you might have to create 10000 windows at the same time (so the memory will all be consumed or reference table will be filled up) then remove them, you shall see the memory drops quickly.</description>
		<content:encoded><![CDATA[<p>btw, another thing to note while dealing with memory in Flex 2.</p>
<p>when flex application starts, it gets an certain amount of memory from the system, garbage collector will not kick in right after a display object is removed from the list.</p>
<p>there are basically two rules, first is when the memory allocated are all used, GC will kick in, another is when the reference conunting table is full, GC will kick in.</p>
<p>so if you want to test with creating and removing popup windows, you might have to create 10000 windows at the same time (so the memory will all be consumed or reference table will be filled up) then remove them, you shall see the memory drops quickly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremy</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-2399</link>
		<dc:creator>jeremy</dc:creator>
		<pubDate>Thu, 10 Aug 2006 10:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-2399</guid>
		<description>Memory leaking is a huge potential problem in Flex 2 (and the framework), this issue had been addressed several time before.

The conclusion often leads to :

1. make sure you have no reference of the DisplayObject, it may be stored in an Array, Dictionary.

2. use weak reference in addEventListener(), otherwise garbage collector won't clean it up.

I had personally experience memory leakage problems several times so now I'm very carefully handling all references (popup windows...etc) created.

This gonna haunt every flex developer (and after a short while, flash 9 users) in the years to come.</description>
		<content:encoded><![CDATA[<p>Memory leaking is a huge potential problem in Flex 2 (and the framework), this issue had been addressed several time before.</p>
<p>The conclusion often leads to :</p>
<p>1. make sure you have no reference of the DisplayObject, it may be stored in an Array, Dictionary.</p>
<p>2. use weak reference in addEventListener(), otherwise garbage collector won&#8217;t clean it up.</p>
<p>I had personally experience memory leakage problems several times so now I&#8217;m very carefully handling all references (popup windows&#8230;etc) created.</p>
<p>This gonna haunt every flex developer (and after a short while, flash 9 users) in the years to come.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ncelq</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-2391</link>
		<dc:creator>ncelq</dc:creator>
		<pubDate>Tue, 08 Aug 2006 08:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-2391</guid>
		<description>yes, it is interesting, indeed, i have followed the following URL to create and remove a popup window. and it found that the same problem occurred (i.e. when create a new popup, memory keep increasing; when close the windows, the memory cannot free up still).

http://livedocs.macromedia.com/flex/2/docs/00000697.html#254176</description>
		<content:encoded><![CDATA[<p>yes, it is interesting, indeed, i have followed the following URL to create and remove a popup window. and it found that the same problem occurred (i.e. when create a new popup, memory keep increasing; when close the windows, the memory cannot free up still).</p>
<p><a href="http://livedocs.macromedia.com/flex/2/docs/00000697.html#254176" rel="nofollow">http://livedocs.macromedia.com/flex/2/docs/00000697.html#254176</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremy</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-2389</link>
		<dc:creator>jeremy</dc:creator>
		<pubDate>Tue, 08 Aug 2006 07:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-2389</guid>
		<description>This is interesting, I didn't noticed that, will look into it and see what I can do.</description>
		<content:encoded><![CDATA[<p>This is interesting, I didn&#8217;t noticed that, will look into it and see what I can do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ncelq</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-2388</link>
		<dc:creator>ncelq</dc:creator>
		<pubDate>Tue, 08 Aug 2006 07:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-2388</guid>
		<description>Your site is great!

did you notice that, after creating a new tab, the memory usage (from task manager) is keep increasing, even if we click the close button to close the tag, the memory remains the same.

it seems that it is memory leakage for flex 2.

do you have any idea on how to free up memory?</description>
		<content:encoded><![CDATA[<p>Your site is great!</p>
<p>did you notice that, after creating a new tab, the memory usage (from task manager) is keep increasing, even if we click the close button to close the tag, the memory remains the same.</p>
<p>it seems that it is memory leakage for flex 2.</p>
<p>do you have any idea on how to free up memory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremy</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-2386</link>
		<dc:creator>jeremy</dc:creator>
		<pubDate>Tue, 08 Aug 2006 02:09:38 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-2386</guid>
		<description>hi Rostislav, 

Thanks for the kind words, I didn't post it on flexcomponents  list because everyone there are also on flexcoders, no need to cross-posting.

I will add "view source" soon, thanks for the suggestion.</description>
		<content:encoded><![CDATA[<p>hi Rostislav, </p>
<p>Thanks for the kind words, I didn&#8217;t post it on flexcomponents  list because everyone there are also on flexcoders, no need to cross-posting.</p>
<p>I will add &#8220;view source&#8221; soon, thanks for the suggestion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rostislav Siryk</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-2385</link>
		<dc:creator>Rostislav Siryk</dc:creator>
		<pubDate>Mon, 07 Aug 2006 23:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-2385</guid>
		<description>Also, maybe its a good idea to add "View Source" feature to the sample context menu?</description>
		<content:encoded><![CDATA[<p>Also, maybe its a good idea to add &#8220;View Source&#8221; feature to the sample context menu?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rostislav Siryk</title>
		<link>http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/comment-page-1/#comment-2384</link>
		<dc:creator>Rostislav Siryk</dc:creator>
		<pubDate>Mon, 07 Aug 2006 18:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://ria.richtechmedia.com/2006/08/02/flex-2-component-draggable-tabbar-with-close-button/#comment-2384</guid>
		<description>Jeremy, this is very good job. Firefox 2.0-style tabs -- really great! 

I'm just wondering why you don't post your gem to flexcomponents mailing list -- surely people will like it!</description>
		<content:encoded><![CDATA[<p>Jeremy, this is very good job. Firefox 2.0-style tabs &#8212; really great! </p>
<p>I&#8217;m just wondering why you don&#8217;t post your gem to flexcomponents mailing list &#8212; surely people will like it!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
