<?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: Setting the base color on the Spark HScrollBar control in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: GuitarWorker</title>
		<link>http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/comment-page-1/#comment-8193</link>
		<dc:creator>GuitarWorker</dc:creator>
		<pubDate>Mon, 02 Aug 2010 20:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/#comment-8193</guid>
		<description>OK, the error  was because I was using chromeColor in the MXML of the skin:



But youre right, via CSS theres just a warning but it works!

s&#124;VScrollBar #track {
		chromeColor: #000000;
}

Thanks Peter!</description>
		<content:encoded><![CDATA[<p>OK, the error  was because I was using chromeColor in the MXML of the skin:</p>
<p>But youre right, via CSS theres just a warning but it works!</p>
<p>s|VScrollBar #track {<br />
		chromeColor: #000000;<br />
}</p>
<p>Thanks Peter!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/comment-page-1/#comment-8192</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 02 Aug 2010 20:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/#comment-8192</guid>
		<description>@GuitarWorker,

Ah, I never use the old Halo theme with Flex 4 apps, but this may work for you (it worked for me in Flex 4.1, but gave me a warning):
&lt;pre lang=&quot;mxml&quot;&gt;

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;
               xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;&gt;
    
    &lt;fx:Style&gt;
        @namespace s &quot;library://ns.adobe.com/flex/spark&quot;;
        
        s&#124;Button {
            chromeColor: red;
        }
    &lt;/fx:Style&gt;
    
    &lt;s:Button id=&quot;btn&quot; label=&quot;foo&quot; click=&quot;btn.setStyle(&#039;chromeColor&#039;, &#039;haloOrange&#039;);&quot; /&gt;
    
&lt;/s:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>@GuitarWorker,</p>
<p>Ah, I never use the old Halo theme with Flex 4 apps, but this may work for you (it worked for me in Flex 4.1, but gave me a warning):</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;">&nbsp;
<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: #7400FF;">&lt;s:Application</span> xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span>
<span style="color: #000000;">               xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Style</span><span style="color: #7400FF;">&gt;</span></span>
        @namespace s &quot;library://ns.adobe.com/flex/spark&quot;;
&nbsp;
        s|Button {
            chromeColor: red;
        }
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Style</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Button</span> id=<span style="color: #ff0000;">&quot;btn&quot;</span> label=<span style="color: #ff0000;">&quot;foo&quot;</span> click=<span style="color: #ff0000;">&quot;btn.setStyle('chromeColor', 'haloOrange');&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GuitarWorker</title>
		<link>http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/comment-page-1/#comment-8191</link>
		<dc:creator>GuitarWorker</dc:creator>
		<pubDate>Mon, 02 Aug 2010 19:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/#comment-8191</guid>
		<description>Thanks for your advice, but im getting a &lt;em&gt;&quot;The style &#039;chromeColor&#039; is only supported by type &#039;spark.components.Button&#039; with the theme(s) &#039;spark&#039;.&quot;&lt;/em&gt; error.
Im using a Halo theme by the way...</description>
		<content:encoded><![CDATA[<p>Thanks for your advice, but im getting a <em>&#8220;The style &#8216;chromeColor&#8217; is only supported by type &#8216;spark.components.Button&#8217; with the theme(s) &#8216;spark&#8217;.&#8221;</em> error.<br />
Im using a Halo theme by the way&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/comment-page-1/#comment-8187</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 02 Aug 2010 16:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/#comment-8187</guid>
		<description>@GuitarWorker,

Try setting the &lt;code&gt;chromeColor&lt;/code&gt; style.

Peter</description>
		<content:encoded><![CDATA[<p>@GuitarWorker,</p>
<p>Try setting the <code>chromeColor</code> style.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GuitarWorker</title>
		<link>http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/comment-page-1/#comment-8186</link>
		<dc:creator>GuitarWorker</dc:creator>
		<pubDate>Mon, 02 Aug 2010 16:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/03/14/setting-the-base-color-on-the-fxhscrollbar-control-in-flex-gumbo/#comment-8186</guid>
		<description>Hi, baseColor its not in the final release of Flex 4, how can I change the colors of the scroll? Ive been seraching and trying to skin the scroll bar but so far i  couldnt... :(</description>
		<content:encoded><![CDATA[<p>Hi, baseColor its not in the final release of Flex 4, how can I change the colors of the scroll? Ive been seraching and trying to skin the scroll bar but so far i  couldnt&#8230; :(</p>
]]></content:encoded>
	</item>
</channel>
</rss>

