<?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"
	>
<channel>
	<title>Comments for Flex Samples</title>
	<atom:link href="http://www.flexsamples.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexsamples.com/blog</link>
	<description></description>
	<pubDate>Wed, 10 Mar 2010 10:21:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>Comment on CollapsibleAccordion - cool new flex component by The awesomeness of Adobe Flex &#124; Regina Mullen</title>
		<link>http://www.flexsamples.com/blog/2009/02/#comment-275</link>
		<dc:creator>The awesomeness of Adobe Flex &#124; Regina Mullen</dc:creator>
		<pubDate>Thu, 28 May 2009 04:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=74#comment-275</guid>
		<description>[...] what cinched it was this tricked out accordion menu system, which has me looking at architectural joins in a completely different [...]</description>
		<content:encoded><![CDATA[<p>[...] what cinched it was this tricked out accordion menu system, which has me looking at architectural joins in a completely different [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Collapsible Accordion on TourDeFlex by R. Mullen</title>
		<link>http://www.flexsamples.com/blog/2009/04/#comment-274</link>
		<dc:creator>R. Mullen</dc:creator>
		<pubDate>Thu, 28 May 2009 02:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=88#comment-274</guid>
		<description>Very, very cool. Thanks for the inspiration!</description>
		<content:encoded><![CDATA[<p>Very, very cool. Thanks for the inspiration!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CollapsibleAccordion - cool new flex component by ah guang</title>
		<link>http://www.flexsamples.com/blog/2009/02/#comment-273</link>
		<dc:creator>ah guang</dc:creator>
		<pubDate>Mon, 25 May 2009 12:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=74#comment-273</guid>
		<description>Very nice!!! Thanks for the code!</description>
		<content:encoded><![CDATA[<p>Very nice!!! Thanks for the code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating custom application backgrounds in Flex 4 (Gumbo) by Dave</title>
		<link>http://www.flexsamples.com/blog/2008/12/#comment-272</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 23 May 2009 08:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=29#comment-272</guid>
		<description>Nice example :) Are you going to continue to blog about the flex?</description>
		<content:encoded><![CDATA[<p>Nice example :) Are you going to continue to blog about the flex?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CollapsibleAccordion - cool new flex component by Milos Zikic</title>
		<link>http://www.flexsamples.com/blog/2009/02/#comment-270</link>
		<dc:creator>Milos Zikic</dc:creator>
		<pubDate>Wed, 13 May 2009 12:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=74#comment-270</guid>
		<description>Hello,

 I have a small modification for this very cool widget in order to be able to dynamically add new components to it.

Changed set content method and added a few new ones:

     public function set content(value:Array):void {
         _content = value;
      }
      
      
      /**
      * Add additional accordions to the child list 
      */
      public function addAccordionChild(child:DisplayObject):DisplayObject {
         var result:DisplayObject = super.addChild(child);
         if (_content == null){
            _content = new Array();
         }
         _content.push(result);
         invalidateContent();
         return result;
      }

      private function invalidateContent():void {
         if (_content) {
            removeAllChildren();
         }

         invalidateSize();
         invalidateProperties()
         contentChanged = true;
      }


And also in commitProperties method after 
contentChanged = false;

add:

accordion.removeAllChildren();
            buttonDict.removeAll();
            this.removeAllChildren();
            addChild(accordionVBox);


And now you can add new childs to accordion by invoking:
collapsibleAccordion.addAccordionChild(child);</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p> I have a small modification for this very cool widget in order to be able to dynamically add new components to it.</p>
<p>Changed set content method and added a few new ones:</p>
<p>     public function set content(value:Array):void {<br />
         _content = value;<br />
      }</p>
<p>      /**<br />
      * Add additional accordions to the child list<br />
      */<br />
      public function addAccordionChild(child:DisplayObject):DisplayObject {<br />
         var result:DisplayObject = super.addChild(child);<br />
         if (_content == null){<br />
            _content = new Array();<br />
         }<br />
         _content.push(result);<br />
         invalidateContent();<br />
         return result;<br />
      }</p>
<p>      private function invalidateContent():void {<br />
         if (_content) {<br />
            removeAllChildren();<br />
         }</p>
<p>         invalidateSize();<br />
         invalidateProperties()<br />
         contentChanged = true;<br />
      }</p>
<p>And also in commitProperties method after<br />
contentChanged = false;</p>
<p>add:</p>
<p>accordion.removeAllChildren();<br />
            buttonDict.removeAll();<br />
            this.removeAllChildren();<br />
            addChild(accordionVBox);</p>
<p>And now you can add new childs to accordion by invoking:<br />
collapsibleAccordion.addAccordionChild(child);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Collapsible Accordion on TourDeFlex by Harley</title>
		<link>http://www.flexsamples.com/blog/2009/04/#comment-260</link>
		<dc:creator>Harley</dc:creator>
		<pubDate>Sun, 12 Apr 2009 22:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=88#comment-260</guid>
		<description>sorry for the multiple posts...

for my usage, i needed to change the
vertical and horizontal policy for the application to function properly.</description>
		<content:encoded><![CDATA[<p>sorry for the multiple posts&#8230;</p>
<p>for my usage, i needed to change the<br />
vertical and horizontal policy for the application to function properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Collapsible Accordion on TourDeFlex by Harley</title>
		<link>http://www.flexsamples.com/blog/2009/04/#comment-259</link>
		<dc:creator>Harley</dc:creator>
		<pubDate>Sun, 12 Apr 2009 22:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=88#comment-259</guid>
		<description>&lt;a href="#comment-258" rel="nofollow"&gt;@Harley &lt;/a&gt; 
no library required, but just need to modify the project properties,  provide my own fonts, modify the css to use my font url("myfontbold") 

works well out of the box.</description>
		<content:encoded><![CDATA[<p><a href="#comment-258" rel="nofollow">@Harley </a><br />
no library required, but just need to modify the project properties,  provide my own fonts, modify the css to use my font url(&#8221;myfontbold&#8221;) </p>
<p>works well out of the box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Collapsible Accordion on TourDeFlex by Harley</title>
		<link>http://www.flexsamples.com/blog/2009/04/#comment-258</link>
		<dc:creator>Harley</dc:creator>
		<pubDate>Sun, 12 Apr 2009 19:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=88#comment-258</guid>
		<description>I don't yet know of a component which displays such an intutive paradigm. Not sure what to call the paradigm besides a collapsible accordion.. but  it's more like a libary book shelf, only you can open a page. very cool, and very intutive.
i imported the tour de flex and i have an error for a missing lib folder.. your documentation might say which libs are required, so maybe not an issue.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t yet know of a component which displays such an intutive paradigm. Not sure what to call the paradigm besides a collapsible accordion.. but  it&#8217;s more like a libary book shelf, only you can open a page. very cool, and very intutive.<br />
i imported the tour de flex and i have an error for a missing lib folder.. your documentation might say which libs are required, so maybe not an issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CollapsibleAccordion - cool new flex component by Craig Jarman</title>
		<link>http://www.flexsamples.com/blog/2009/02/#comment-250</link>
		<dc:creator>Craig Jarman</dc:creator>
		<pubDate>Thu, 26 Feb 2009 13:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=74#comment-250</guid>
		<description>Got it... Needs th efont embedded</description>
		<content:encoded><![CDATA[<p>Got it&#8230; Needs th efont embedded</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CollapsibleAccordion - cool new flex component by Craig Jarman</title>
		<link>http://www.flexsamples.com/blog/2009/02/#comment-249</link>
		<dc:creator>Craig Jarman</dc:creator>
		<pubDate>Thu, 26 Feb 2009 12:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexsamples.com/blog/?p=74#comment-249</guid>
		<description>Great widget! Have been playing around with it an hope to use it. Only issue is the label text disappears in the closed/folded away state. Any ideas?</description>
		<content:encoded><![CDATA[<p>Great widget! Have been playing around with it an hope to use it. Only issue is the label text disappears in the closed/folded away state. Any ideas?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
