<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flex Examples &#187; selectedFillColors</title>
	<atom:link href="http://blog.flexexamples.com/tag/selectedfillcolors/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Wed, 26 Jan 2011 18:09:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Customizing the Accordion header in Flex 3</title>
		<link>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/</link>
		<comments>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 06:30:01 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Accordion]]></category>
		<category><![CDATA[fillAlphas]]></category>
		<category><![CDATA[fillColors]]></category>
		<category><![CDATA[headerStyleName]]></category>
		<category><![CDATA[resizeToContent]]></category>
		<category><![CDATA[selectedFillColors]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/</guid>
		<description><![CDATA[<p>The following example shows how you can set some of the deprecated styles in the Accordion container (such as fillAlphas, fillColors, and selectedFillColors) by using the headerStyleName style.</p> <p>Full code after the jump.</p> <p></p> &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;!-- http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/ --&#62; &#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; layout=&#34;vertical&#34; verticalAlign=&#34;top&#34; backgroundColor=&#34;white&#34;&#62; &#160; &#60;mx:Style&#62; .accHeader { fillColors: haloSilver, haloBlue; fillAlphas: 1.0, 0.5; [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can set some of the deprecated styles in the Accordion container (such as <code>fillAlphas</code>, <code>fillColors</code>, and <code>selectedFillColors</code>) by using the <code>headerStyleName</code> style.</p>
<p>Full code after the jump.</p>
<p><span id="more-253"></span></p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/ --&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span></span>
<span style="color: #000000;">        layout=<span style="color: #ff0000;">&quot;vertical&quot;</span></span>
<span style="color: #000000;">        verticalAlign=<span style="color: #ff0000;">&quot;top&quot;</span></span>
<span style="color: #000000;">        backgroundColor=<span style="color: #ff0000;">&quot;white&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Style</span><span style="color: #7400FF;">&gt;</span></span>
        .accHeader {
            fillColors: haloSilver, haloBlue;
            fillAlphas: 1.0, 0.5;
            selectedFillColors: black, black;
        }
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Style</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Accordion</span> id=<span style="color: #ff0000;">&quot;accordion&quot;</span></span>
<span style="color: #000000;">            headerStyleName=<span style="color: #ff0000;">&quot;accHeader&quot;</span></span>
<span style="color: #000000;">            resizeToContent=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #000000;">            width=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> label=<span style="color: #ff0000;">&quot;Red&quot;</span></span>
<span style="color: #000000;">                backgroundColor=<span style="color: #ff0000;">&quot;red&quot;</span></span>
<span style="color: #000000;">                width=<span style="color: #ff0000;">&quot;100%&quot;</span></span>
<span style="color: #000000;">                height=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> label=<span style="color: #ff0000;">&quot;Orange&quot;</span></span>
<span style="color: #000000;">                backgroundColor=<span style="color: #ff0000;">&quot;haloOrange&quot;</span></span>
<span style="color: #000000;">                width=<span style="color: #ff0000;">&quot;100%&quot;</span></span>
<span style="color: #000000;">                height=<span style="color: #ff0000;">&quot;120&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> label=<span style="color: #ff0000;">&quot;Yellow&quot;</span></span>
<span style="color: #000000;">                backgroundColor=<span style="color: #ff0000;">&quot;yellow&quot;</span></span>
<span style="color: #000000;">                width=<span style="color: #ff0000;">&quot;100%&quot;</span></span>
<span style="color: #000000;">                height=<span style="color: #ff0000;">&quot;160&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> label=<span style="color: #ff0000;">&quot;Green&quot;</span></span>
<span style="color: #000000;">                backgroundColor=<span style="color: #ff0000;">&quot;haloGreen&quot;</span></span>
<span style="color: #000000;">                width=<span style="color: #ff0000;">&quot;100%&quot;</span></span>
<span style="color: #000000;">                height=<span style="color: #ff0000;">&quot;80&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> label=<span style="color: #ff0000;">&quot;Blue&quot;</span></span>
<span style="color: #000000;">                backgroundColor=<span style="color: #ff0000;">&quot;haloBlue&quot;</span></span>
<span style="color: #000000;">                width=<span style="color: #ff0000;">&quot;100%&quot;</span></span>
<span style="color: #000000;">                height=<span style="color: #ff0000;">&quot;140&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Accordion</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/Accordion_headerStyleName_fillColors_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/Accordion_headerStyleName_fillColors_test/bin/main.html" width="100%" height="400"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Customizing the Accordion header in Flex 3 on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/',contentID: 'post-253',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'fillAlphas,fillColors,headerStyleName,resizeToContent,selectedFillColors',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Highlighting the Accordion container&#8217;s currently selected header</title>
		<link>http://blog.flexexamples.com/2007/08/27/highlighting-the-accordion-containers-currently-selected-header/</link>
		<comments>http://blog.flexexamples.com/2007/08/27/highlighting-the-accordion-containers-currently-selected-header/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 04:21:23 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Accordion]]></category>
		<category><![CDATA[selectedFillColors]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/27/highlighting-the-accordion-containers-currently-selected-header/</guid>
		<description><![CDATA[<p>The following example shows how you can set the Accordion container&#8217;s selectedFillColors style to highlight the currently selected header.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/Accordion_selectedFillColors_test/main.mxml">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2007/08/27/highlighting-the-accordion-containers-currently-selected-header/ --&#62; &#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white"&#62; &#60;mx:Style&#62; Accordion { selectedFillColors: haloBlue, haloBlue; } &#60;/mx:Style&#62; &#60;mx:Accordion width="400" height="120"&#62; &#60;mx:VBox id="child1" label="Child 1" [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can set the Accordion container&#8217;s <code>selectedFillColors</code> style to highlight the currently selected header.</p>
<p>Full code after the jump.</p>
<p><span id="more-138"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/Accordion_selectedFillColors_test/main.mxml">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2007/08/27/highlighting-the-accordion-containers-currently-selected-header/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:Style&gt;
        Accordion {
            selectedFillColors: haloBlue, haloBlue;
        }
    &lt;/mx:Style&gt;

    &lt;mx:Accordion width="400" height="120"&gt;
        &lt;mx:VBox id="child1" label="Child 1" /&gt;
        &lt;mx:VBox id="child2" label="Child 2" /&gt;
        &lt;mx:VBox id="child3" label="Child 3" /&gt;
    &lt;/mx:Accordion&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/Accordion_selectedFillColors_test/bin/srcview/index.html">View source</a> is enabled in the following example.</p>
<p><iframe src="http://blog.flexexamples.com/wp-content/uploads/Accordion_selectedFillColors_test/bin/main.html" width="100%" height="200"></iframe></p>
<p class="alert">The previous example was built using Flex 2.0.1 Hotfix 2. This style seems to be deprecated in Flex 3.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Highlighting the Accordion container\&#039;s currently selected header on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/08/27/highlighting-the-accordion-containers-currently-selected-header/',contentID: 'post-138',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'selectedFillColors',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2007/08/27/highlighting-the-accordion-containers-currently-selected-header/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

