<?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; shadowColor</title>
	<atom:link href="http://blog.flexexamples.com/tag/shadowcolor/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>Styling the Flex HRule control</title>
		<link>http://blog.flexexamples.com/2007/10/14/styling-the-flex-hrule-control/</link>
		<comments>http://blog.flexexamples.com/2007/10/14/styling-the-flex-hrule-control/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 17:59:02 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[HRule]]></category>
		<category><![CDATA[VRule]]></category>
		<category><![CDATA[shadowColor]]></category>
		<category><![CDATA[strokeColor]]></category>
		<category><![CDATA[strokeWidth]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/14/styling-the-flex-hrule-control/</guid>
		<description><![CDATA[<p>The following example shows you how you can style the HRule (or VRule) control in Flex by setting the strokeWidth, strokeColor, and shadowColor styles.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/HRule_strokeColor_test/main.mxml">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2007/10/14/styling-the-flex-hrule-control/ --&#62; &#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white"&#62; &#60;mx:ApplicationControlBar dock="true"&#62; &#60;mx:Form&#62; &#60;mx:FormItem label="stokeWidth:"&#62; &#60;mx:HSlider id="strokeWidthSlider" minimum="0" maximum="20" value="2" [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows you how you can style the HRule (or VRule) control in Flex by setting the <code>strokeWidth</code>, <code>strokeColor</code>, and <code>shadowColor</code> styles.</p>
<p>Full code after the jump.</p>
<p><span id="more-235"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/HRule_strokeColor_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/10/14/styling-the-flex-hrule-control/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:ApplicationControlBar dock="true"&gt;
        &lt;mx:Form&gt;
            &lt;mx:FormItem label="stokeWidth:"&gt;
                &lt;mx:HSlider id="strokeWidthSlider"
                        minimum="0"
                        maximum="20"
                        value="2"
                        liveDragging="true"
                        snapInterval="1"
                        tickInterval="1"
                        dataTipPrecision="0" /&gt;
            &lt;/mx:FormItem&gt;
            &lt;mx:FormItem label="strokeColor:"&gt;
                &lt;mx:ColorPicker id="strokeColorColorPicker"
                        selectedColor="red" /&gt;
            &lt;/mx:FormItem&gt;
            &lt;mx:FormItem label="shadowColor:"&gt;
                &lt;mx:ColorPicker id="shadowColorColorPicker"
                        selectedColor="blue" /&gt;
            &lt;/mx:FormItem&gt;
        &lt;/mx:Form&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:HRule id="hrule"
            strokeWidth="{strokeWidthSlider.value}"
            strokeColor="{strokeColorColorPicker.selectedColor}"
            shadowColor="{shadowColorColorPicker.selectedColor}"
            width="100%" /&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/HRule_strokeColor_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/HRule_strokeColor_test/bin/main.html" width="100%" height="300"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Styling the Flex HRule control on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/10/14/styling-the-flex-hrule-control/',contentID: 'post-235',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'shadowColor,strokeColor,strokeWidth',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/14/styling-the-flex-hrule-control/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

