<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Customizing the Accordion header in Flex 3</title>
	<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 04:19:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-16201</link>
		<author>peterd</author>
		<pubDate>Wed, 15 Oct 2008 15:38:34 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-16201</guid>
		<description>david,

I can't find anything either. The closest I've gotten is the &lt;code&gt;textSelectedColor&lt;/code&gt; style in the Button class (the Accordion headers subclass the Button control). But setting this style only affects the text color when the user &lt;em&gt;presses&lt;/em&gt; the button, not the color of the label while the button is in the selected state.

You could try filing an enhancement request at http://bugs.adobe.com/flex/

Peter</description>
		<content:encoded><![CDATA[<p>david,</p>
<p>I can&#8217;t find anything either. The closest I&#8217;ve gotten is the <code>textSelectedColor</code> style in the Button class (the Accordion headers subclass the Button control). But setting this style only affects the text color when the user <em>presses</em> the button, not the color of the label while the button is in the selected state.</p>
<p>You could try filing an enhancement request at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a></p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-16176</link>
		<author>david</author>
		<pubDate>Tue, 14 Oct 2008 03:47:02 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-16176</guid>
		<description>Hey

Thanks for showing us its really helpfull. One question though

Is there a way to change the font colour of the selected heading in the css. such as a selectedColor or something? I can't seem to find anything.</description>
		<content:encoded><![CDATA[<p>Hey</p>
<p>Thanks for showing us its really helpfull. One question though</p>
<p>Is there a way to change the font colour of the selected heading in the css. such as a selectedColor or something? I can&#8217;t seem to find anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-15716</link>
		<author>Anonymous</author>
		<pubDate>Fri, 19 Sep 2008 05:05:34 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-15716</guid>
		<description>good, i have saved it in my google notebook.</description>
		<content:encoded><![CDATA[<p>good, i have saved it in my google notebook.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vik</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-14137</link>
		<author>vik</author>
		<pubDate>Mon, 14 Jul 2008 13:31:01 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-14137</guid>
		<description>hie 

is it possible to show collapsed all the accordian headers in the begining.?</description>
		<content:encoded><![CDATA[<p>hie </p>
<p>is it possible to show collapsed all the accordian headers in the begining.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Posin</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-11900</link>
		<author>Posin</author>
		<pubDate>Fri, 11 Apr 2008 23:47:35 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-11900</guid>
		<description>Nice example, what other CSS changes we can do?</description>
		<content:encoded><![CDATA[<p>Nice example, what other CSS changes we can do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nold</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-11204</link>
		<author>nold</author>
		<pubDate>Mon, 07 Apr 2008 22:49:01 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-11204</guid>
		<description>Hi Peter,

Sorry about that.  I figured out the problem. I was able to learn that objects in Flex are not created until they are visible.  I was doing som stuff with accordion and wondering why some objects are not changing.

Anyway, thank you for replying.  Rest assured I will be back for your help.  :)

nold</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Sorry about that.  I figured out the problem. I was able to learn that objects in Flex are not created until they are visible.  I was doing som stuff with accordion and wondering why some objects are not changing.</p>
<p>Anyway, thank you for replying.  Rest assured I will be back for your help.  :)</p>
<p>nold</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-9645</link>
		<author>peterd</author>
		<pubDate>Thu, 03 Apr 2008 01:13:31 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-9645</guid>
		<description>nold,

You may have to try doing a search/replace with &#60; to &#38;lt;. Sorry. Posting code in these comments is pretty quirky.

Peter</description>
		<content:encoded><![CDATA[<p>nold,</p>
<p>You may have to try doing a search/replace with &lt; to &amp;lt;. Sorry. Posting code in these comments is pretty quirky.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nold</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-9641</link>
		<author>nold</author>
		<pubDate>Thu, 03 Apr 2008 00:44:54 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-9641</guid>
		<description>Hi Peter,

I've been reading a lot about your posts and it has really helped me do my tasks and learn more about flex.  I just would like to know why I'm getting the error everytime I click in to btn1.
: 
"TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at test/::arr()
	at test/__btn1_click()
"

Here's the code.


&lt;!-- containers\navigators\AccordionButtonNav.mxml --&gt;


	


    
    

        

            
                
         

                 
        

        
            
            
        

        
        

    



Your answer would really help a lot.

Thanks,
nold</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>I&#8217;ve been reading a lot about your posts and it has really helped me do my tasks and learn more about flex.  I just would like to know why I&#8217;m getting the error everytime I click in to btn1.<br />
:<br />
&#8220;TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at test/::arr()<br />
	at test/__btn1_click()<br />
&#8221;</p>
<p>Here&#8217;s the code.</p>
<p><!-- containers\navigators\AccordionButtonNav.mxml --></p>
<p>Your answer would really help a lot.</p>
<p>Thanks,<br />
nold</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-3738</link>
		<author>peterd</author>
		<pubDate>Wed, 31 Oct 2007 06:40:41 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-3738</guid>
		<description>Madhu,

I believe you can, yes. For example, I can set different label colors for each accordion heading by using the following snippet:
&lt;pre class="code"&gt;accordion.getHeaderAt(0).setStyle("color", "red");&lt;/pre&gt;

For more information, see &lt;a href="http://blog.flexexamples.com/2007/10/30/setting-styles-on-individual-flex-accordion-headers/" rel="nofollow"&gt;"Setting styles on individual Flex Accordion headers"&lt;/a&gt;.

Peter</description>
		<content:encoded><![CDATA[<p>Madhu,</p>
<p>I believe you can, yes. For example, I can set different label colors for each accordion heading by using the following snippet:</p>
<pre class="code">accordion.getHeaderAt(0).setStyle("color", "red");</pre>
<p>For more information, see <a href="http://blog.flexexamples.com/2007/10/30/setting-styles-on-individual-flex-accordion-headers/" rel="nofollow">&#8220;Setting styles on individual Flex Accordion headers&#8221;</a>.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhusudhan</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-3733</link>
		<author>Madhusudhan</author>
		<pubDate>Tue, 30 Oct 2007 12:27:08 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comment-3733</guid>
		<description>Hey Peter,

Is it possible to color individual headers of the accordion?

Cheers,
Madhu</description>
		<content:encoded><![CDATA[<p>Hey Peter,</p>
<p>Is it possible to color individual headers of the accordion?</p>
<p>Cheers,<br />
Madhu</p>
]]></content:encoded>
	</item>
</channel>
</rss>
