<?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; dropShadowEnabled</title>
	<atom:link href="http://blog.flexexamples.com/tag/dropshadowenabled/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>Toggling the drop shadow on a Panel container in Flex</title>
		<link>http://blog.flexexamples.com/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/</link>
		<comments>http://blog.flexexamples.com/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 05:25:02 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[Panel]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/</guid>
		<description><![CDATA[<p>The following example shows how you can toggle the drop shadow on a Flex Panel container by setting the dropShadowEnabled style.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/Panel_dropShadowEnabled_test/bin/srcview/source/main.mxml.html">View MXML</a></p> &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;!-- http://blog.flexexamples.com/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/ --&#62; &#60;mx:Application name=&#34;Panel_dropShadowEnabled_test&#34; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; layout=&#34;vertical&#34; verticalAlign=&#34;middle&#34; backgroundColor=&#34;white&#34;&#62; &#60;mx:ApplicationControlBar dock=&#34;true&#34;&#62; &#60;mx:CheckBox id=&#34;checkBox&#34; label=&#34;dropShadowEnabled:&#34; labelPlacement=&#34;left&#34; selected=&#34;true&#34; /&#62; &#60;/mx:ApplicationControlBar&#62; &#60;mx:Panel id=&#34;panel&#34; title=&#34;Panel [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can toggle the drop shadow on a Flex Panel container by setting the <code>dropShadowEnabled</code> style.</p>
<p>Full code after the jump.</p>
<p><span id="more-836"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/Panel_dropShadowEnabled_test/bin/srcview/source/main.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://blog.flexexamples.com/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/ --&gt;
&lt;mx:Application name=&quot;Panel_dropShadowEnabled_test&quot;
        xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;&gt;

    &lt;mx:ApplicationControlBar dock=&quot;true&quot;&gt;
        &lt;mx:CheckBox id=&quot;checkBox&quot;
                label=&quot;dropShadowEnabled:&quot;
                labelPlacement=&quot;left&quot;
                selected=&quot;true&quot; /&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:Panel id=&quot;panel&quot;
            title=&quot;Panel title&quot;
            width=&quot;100%&quot;
            height=&quot;100%&quot;
            borderColor=&quot;haloSilver&quot;
            dropShadowEnabled=&quot;{checkBox.selected}&quot;&gt;
        &lt;mx:Label text=&quot;Panel contents&quot; /&gt;
    &lt;/mx:Panel&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/Panel_dropShadowEnabled_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/Panel_dropShadowEnabled_test/bin/main.html" width="100%" height="250"></iframe></p>
<p>You can also set the <code>dropShadowEnabled</code> style in an external .CSS file or &lt;mx:Style /&gt; block, as seen in the following example:</p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/Panel_dropShadowEnabled_test/bin/srcview/source/main2.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://blog.flexexamples.com/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/ --&gt;
&lt;mx:Application name=&quot;Panel_dropShadowEnabled_test&quot;
        xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;&gt;

    &lt;mx:Style&gt;
        Panel {
            border-color: haloSilver;
            dropShadowEnabled: false;
        }
    &lt;/mx:Style&gt;

    &lt;mx:Panel id=&quot;panel&quot;
            title=&quot;Panel title&quot;
            width=&quot;100%&quot;
            height=&quot;100%&quot;&gt;
        &lt;mx:Label text=&quot;Panel contents&quot; /&gt;
    &lt;/mx:Panel&gt;

&lt;/mx:Application&gt;
</pre>
<p>Or, you can set the <code>dropShadowEnabled</code> style using ActionScript, as seen in the following example:</p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/Panel_dropShadowEnabled_test/bin/srcview/source/main3.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://blog.flexexamples.com/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/ --&gt;
&lt;mx:Application name=&quot;Panel_dropShadowEnabled_test&quot;
        xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            private function checkBox_change(evt:Event):void {
                panel.setStyle(&quot;dropShadowEnabled&quot;, checkBox.selected);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:ApplicationControlBar dock=&quot;true&quot;&gt;
        &lt;mx:CheckBox id=&quot;checkBox&quot;
                label=&quot;dropShadowEnabled:&quot;
                labelPlacement=&quot;left&quot;
                selected=&quot;true&quot;
                change=&quot;checkBox_change(event);&quot; /&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:Panel id=&quot;panel&quot;
            title=&quot;Panel title&quot;
            width=&quot;100%&quot;
            height=&quot;100%&quot;
            borderColor=&quot;haloSilver&quot;&gt;
        &lt;mx:Label text=&quot;Panel contents&quot; /&gt;
    &lt;/mx:Panel&gt;

&lt;/mx:Application&gt;
</pre>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Toggling the drop shadow on a Panel container in Flex on FlexExamples.com',url: 'http://blog.flexexamples.com/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/',contentID: 'post-836',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dropShadowEnabled',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/2008/10/19/toggling-the-drop-shadow-on-a-panel-container-in-flex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Displaying a drop shadow behind a VBox container in Flex</title>
		<link>http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/</link>
		<comments>http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 06:31:10 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[VBox]]></category>
		<category><![CDATA[borderStyle]]></category>
		<category><![CDATA[borderThickness]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/</guid>
		<description><![CDATA[<p>The following example shows how you can display a drop shadow behind a Flex VBox container by setting the borderStyle and dropShadowEnabled styles.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/VBox_dropShadowEnabled_test/bin/srcview/source/main.mxml.html">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/ --&#62; &#60;mx:Application name="VBox_dropShadowEnabled_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white"&#62; &#60;mx:VBox id="vBox" dropShadowEnabled="true" borderStyle="solid" borderThickness="0" backgroundColor="red" width="100%" height="100%"&#62; &#60;mx:Label text="{Capabilities.version}" [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can display a drop shadow behind a Flex VBox container by setting the <code>borderStyle</code> and <code>dropShadowEnabled</code> styles.</p>
<p>Full code after the jump.</p>
<p><span id="more-805"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/VBox_dropShadowEnabled_test/bin/srcview/source/main.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/ --&gt;
&lt;mx:Application name="VBox_dropShadowEnabled_test"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:VBox id="vBox"
            dropShadowEnabled="true"
            borderStyle="solid"
            borderThickness="0"
            backgroundColor="red"
            width="100%"
            height="100%"&gt;
        &lt;mx:Label text="{Capabilities.version}"
                fontSize="64" /&gt;
    &lt;/mx:VBox&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/VBox_dropShadowEnabled_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/VBox_dropShadowEnabled_test/bin/main.html" width="100%" height="200"></iframe></p>
<p>You can also set the <code>borderStyle</code> and <code>dropShadowEnabled</code> styles in an external .CSS file or &lt;mx:Style /&gt; block, as seen in the following example:</p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/VBox_dropShadowEnabled_test/bin/srcview/source/main2.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/ --&gt;
&lt;mx:Application name="VBox_dropShadowEnabled_test"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:Style&gt;
        VBox {
            dropShadowEnabled: true;
            borderStyle: solid;
            borderThickness: 0;
            backgroundColor: red;
        }
    &lt;/mx:Style&gt;

    &lt;mx:VBox id="vBox"
            width="100%"
            height="100%"&gt;
        &lt;mx:Label text="{Capabilities.version}"
                fontSize="64" /&gt;
    &lt;/mx:VBox&gt;

&lt;/mx:Application&gt;
</pre>
<p>Or, you can set the <code>borderStyle</code> and <code>dropShadowEnabled</code> styles using ActionScript, as seen in the following example:</p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/VBox_dropShadowEnabled_test/bin/srcview/source/main3.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/ --&gt;
&lt;mx:Application name="VBox_dropShadowEnabled_test"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            private function init():void {
                vBox.setStyle("dropShadowEnabled", true);
                vBox.setStyle("borderStyle", "solid");
                vBox.setStyle("borderThickness", 0);
                vBox.setStyle("backgroundColor", "red");
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:VBox id="vBox"
            width="100%"
            height="100%"
            initialize="init();"&gt;
        &lt;mx:Label text="{Capabilities.version}"
                fontSize="64" /&gt;
    &lt;/mx:VBox&gt;

&lt;/mx:Application&gt;
</pre>
<p>Due to popular demand, here is the &#8220;same&#8221; example in a more ActionScript friendly format:</p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/VBox_dropShadowEnabled_test/bin/srcview/source/main4.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/ --&gt;
&lt;mx:Application name="VBox_dropShadowEnabled_test"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        initialize="init();"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.Label;
            import mx.containers.VBox;

            private var vBox:VBox;

            private function init():void {
                var lbl:Label = new Label();
                lbl.text = Capabilities.version;
                lbl.setStyle("fontSize", 64);

                vBox = new VBox();
                vBox.setStyle("dropShadowEnabled", true);
                vBox.setStyle("borderStyle", "solid");
                vBox.setStyle("borderThickness", 0);
                vBox.setStyle("backgroundColor", "red");
                vBox.percentWidth = 100;
                vBox.percentHeight = 100;
                vBox.addChild(lbl);
                addChild(vBox);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

&lt;/mx:Application&gt;
</pre>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Displaying a drop shadow behind a VBox container in Flex on FlexExamples.com',url: 'http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/',contentID: 'post-805',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'borderStyle,borderThickness,dropShadowEnabled',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/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Toggling a drop shadow on the List control in Flex</title>
		<link>http://blog.flexexamples.com/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/</link>
		<comments>http://blog.flexexamples.com/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 06:09:34 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[List]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/</guid>
		<description><![CDATA[<p>The following example shows how you can toggle a drop shadow on a Flex List control by setting the dropShadowEnabled style.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/List_dropShadowEnabled_test/bin/srcview/source/main.mxml.html">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/ --&#62; &#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white"&#62; &#60;mx:Array id="arr"&#62; &#60;mx:Object label="One" /&#62; &#60;mx:Object label="Two" /&#62; &#60;mx:Object label="Three" /&#62; &#60;mx:Object label="Four" [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can toggle a drop shadow on a Flex List control by setting the <code>dropShadowEnabled</code> style.</p>
<p>Full code after the jump.</p>
<p><span id="more-715"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/List_dropShadowEnabled_test/bin/srcview/source/main.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:Array id="arr"&gt;
        &lt;mx:Object label="One" /&gt;
        &lt;mx:Object label="Two" /&gt;
        &lt;mx:Object label="Three" /&gt;
        &lt;mx:Object label="Four" /&gt;
        &lt;mx:Object label="Five" /&gt;
        &lt;mx:Object label="Six" /&gt;
        &lt;mx:Object label="Seven" /&gt;
        &lt;mx:Object label="Eight" /&gt;
        &lt;mx:Object label="Nine" /&gt;
        &lt;mx:Object label="Ten" /&gt;
    &lt;/mx:Array&gt;

    &lt;mx:ApplicationControlBar dock="true"&gt;
        &lt;mx:Form styleName="plain"&gt;
            &lt;mx:FormItem label="dropShadowEnabled:"&gt;
                &lt;mx:CheckBox id="checkBox" /&gt;
            &lt;/mx:FormItem&gt;
        &lt;/mx:Form&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:List id="list"
            dataProvider="{arr}"
            dropShadowEnabled="{checkBox.selected}"
            width="100" /&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/List_dropShadowEnabled_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/List_dropShadowEnabled_test/bin/main.html" width="100%" height="250"></iframe></p>
<p>You can also set the <code>dropShadowEnabled</code> style in an external .CSS file or &lt;mx:Style /&gt; block, as seen in the following example:</p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/List_dropShadowEnabled_test/bin/srcview/source/main2.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://blog.flexexamples.com/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/ --&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;&gt;

    <strong style="color:red;">&lt;mx:Style&gt;
        List {
            dropShadowEnabled: true;
        }
    &lt;/mx:Style&gt;</strong>

    &lt;mx:Array id=&quot;arr&quot;&gt;
        &lt;mx:Object label=&quot;One&quot; /&gt;
        &lt;mx:Object label=&quot;Two&quot; /&gt;
        &lt;mx:Object label=&quot;Three&quot; /&gt;
        &lt;mx:Object label=&quot;Four&quot; /&gt;
        &lt;mx:Object label=&quot;Five&quot; /&gt;
        &lt;mx:Object label=&quot;Six&quot; /&gt;
        &lt;mx:Object label=&quot;Seven&quot; /&gt;
        &lt;mx:Object label=&quot;Eight&quot; /&gt;
        &lt;mx:Object label=&quot;Nine&quot; /&gt;
        &lt;mx:Object label=&quot;Ten&quot; /&gt;
    &lt;/mx:Array&gt;

    &lt;mx:List id=&quot;list&quot;
            dataProvider=&quot;{arr}&quot;
            width=&quot;100&quot; /&gt;

&lt;/mx:Application&gt;
</pre>
<p>Or, you can set the <code>dropShadowEnabled</code> style using ActionScript, as seen in the following example:</p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/List_dropShadowEnabled_test/bin/srcview/source/main3.mxml.html">View MXML</a></p>
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://blog.flexexamples.com/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/ --&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;&gt;

    <strong style="color:red;">&lt;mx:Script&gt;
        &lt;![CDATA[
            private function checkBox_change(evt:Event):void {
                list.setStyle(&quot;dropShadowEnabled&quot;, checkBox.selected);
            }
        ]]&gt;
    &lt;/mx:Script&gt;</strong>

    &lt;mx:Array id=&quot;arr&quot;&gt;
        &lt;mx:Object label=&quot;One&quot; /&gt;
        &lt;mx:Object label=&quot;Two&quot; /&gt;
        &lt;mx:Object label=&quot;Three&quot; /&gt;
        &lt;mx:Object label=&quot;Four&quot; /&gt;
        &lt;mx:Object label=&quot;Five&quot; /&gt;
        &lt;mx:Object label=&quot;Six&quot; /&gt;
        &lt;mx:Object label=&quot;Seven&quot; /&gt;
        &lt;mx:Object label=&quot;Eight&quot; /&gt;
        &lt;mx:Object label=&quot;Nine&quot; /&gt;
        &lt;mx:Object label=&quot;Ten&quot; /&gt;
    &lt;/mx:Array&gt;

    &lt;mx:ApplicationControlBar dock=&quot;true&quot;&gt;
        &lt;mx:Form styleName=&quot;plain&quot;&gt;
            &lt;mx:FormItem label=&quot;dropShadowEnabled:&quot;&gt;
                &lt;mx:CheckBox id=&quot;checkBox&quot;
                        <strong style="color:red;">change=&quot;checkBox_change(event);&quot;</strong> /&gt;
            &lt;/mx:FormItem&gt;
        &lt;/mx:Form&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:List id=&quot;list&quot;
            dataProvider=&quot;{arr}&quot;
            width=&quot;100&quot; /&gt;

&lt;/mx:Application&gt;
</pre>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Toggling a drop shadow on the List control in Flex on FlexExamples.com',url: 'http://blog.flexexamples.com/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/',contentID: 'post-715',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dropShadowEnabled',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/2008/07/22/toggling-a-drop-shadow-on-the-list-control-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toggling the drop shadow on the ComboBox control in Flex</title>
		<link>http://blog.flexexamples.com/2008/07/09/toggling-the-drop-shadow-on-the-combobox-control-in-flex/</link>
		<comments>http://blog.flexexamples.com/2008/07/09/toggling-the-drop-shadow-on-the-combobox-control-in-flex/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 06:04:29 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[dropdownStyleName]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2008/07/09/toggling-the-drop-shadow-on-the-combobox-control-in-flex/</guid>
		<description><![CDATA[<p>The following example shows how you can toggle the drop shadow on the Flex ComboBox control by setting the dropShadowEnabled style on the ComboBox control&#8217;s dropdown menu.</p> <p>Full code after the jump.</p> <p></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2008/07/09/toggling-the-drop-shadow-on-the-combobox-control-in-flex/ --&#62; &#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" verticalAlign="top" backgroundColor="white"&#62; &#60;mx:Style&#62; .shadowDisabled { dropShadowEnabled: false; } .shadowEnabled { dropShadowEnabled: true; } [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can toggle the drop shadow on the Flex ComboBox control by setting the <code>dropShadowEnabled</code> style on the ComboBox control&#8217;s dropdown menu.</p>
<p>Full code after the jump.</p>
<p><span id="more-700"></span></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2008/07/09/toggling-the-drop-shadow-on-the-combobox-control-in-flex/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="horizontal"
        verticalAlign="top"
        backgroundColor="white"&gt;

    &lt;mx:Style&gt;
        .shadowDisabled {
            dropShadowEnabled: false;
        }

        .shadowEnabled {
            dropShadowEnabled: true;
        }
    &lt;/mx:Style&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            private function checkBox_change(evt:Event):void {
                var value:String = "shadowEnabled";
                if (!checkBox.selected) {
                    value = "shadowDisabled;"
                }
                comboBox.setStyle("dropdownStyleName", value);
                comboBox.validateNow();
                comboBox.open();
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:Array id="arr"&gt;
        &lt;mx:Object label="One" /&gt;
        &lt;mx:Object label="Two" /&gt;
        &lt;mx:Object label="Three" /&gt;
    &lt;/mx:Array&gt;

    &lt;mx:ApplicationControlBar dock="true"&gt;
        &lt;mx:CheckBox id="checkBox"
                label="dropShadowEnabled:"
                labelPlacement="left"
                selected="true"
                change="checkBox_change(event);" /&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:ComboBox id="comboBox"
            dataProvider="{arr}"
            openDuration="0"
            closeDuration="0" /&gt;

&lt;/mx:Application&gt;
</pre>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Toggling the drop shadow on the ComboBox control in Flex on FlexExamples.com',url: 'http://blog.flexexamples.com/2008/07/09/toggling-the-drop-shadow-on-the-combobox-control-in-flex/',contentID: 'post-700',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dropdownStyleName,dropShadowEnabled',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/2008/07/09/toggling-the-drop-shadow-on-the-combobox-control-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing the drop shadow from the DateField control in Flex</title>
		<link>http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/</link>
		<comments>http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 07:59:06 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[dateChooserStyleName]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/</guid>
		<description><![CDATA[<p>The following example shows how you can remove the default drop shadow from the nested DateChooser control in a Flex DateField control by setting the dropShadowEnabled style.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_dropShadowEnabled_test/main.mxml">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/ --&#62; &#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top" backgroundColor="white"&#62; &#60;mx:Style&#62; .myDateChooser { dropShadowEnabled: false; } &#60;/mx:Style&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can remove the default drop shadow from the nested DateChooser control in a Flex DateField control by setting the <code>dropShadowEnabled</code> style.</p>
<p>Full code after the jump.</p>
<p><span id="more-386"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_dropShadowEnabled_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/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/ --&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white"&gt;

    &lt;mx:Style&gt;
        .myDateChooser {
            dropShadowEnabled: false;
        }
    &lt;/mx:Style&gt;

    &lt;mx:Form&gt;
        &lt;mx:FormItem label="With drop shadow:"&gt;
            &lt;mx:DateField /&gt;
        &lt;/mx:FormItem&gt;
        &lt;mx:FormItem label="Without drop shadow:"&gt;
            &lt;mx:DateField dateChooserStyleName="myDateChooser" /&gt;
        &lt;/mx:FormItem&gt;
    &lt;/mx:Form&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/DateField_dateChooserStyleName_dropShadowEnabled_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/DateField_dateChooserStyleName_dropShadowEnabled_test/bin/main.html" width="100%" height="300"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Removing the drop shadow from the DateField control in Flex on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/',contentID: 'post-386',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dateChooserStyleName,dropShadowEnabled',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/12/23/removing-the-drop-shadow-from-the-datefield-control-in-flex/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating drop shadows on the Flex TextArea control</title>
		<link>http://blog.flexexamples.com/2007/09/23/creating-drop-shadows-on-the-flex-textarea-control/</link>
		<comments>http://blog.flexexamples.com/2007/09/23/creating-drop-shadows-on-the-flex-textarea-control/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 00:46:04 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[TextArea]]></category>
		<category><![CDATA[dropShadowColor]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>
		<category><![CDATA[shadowDirection]]></category>
		<category><![CDATA[shadowDistance]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/23/creating-drop-shadows-on-the-flex-textarea-control/</guid>
		<description><![CDATA[<p>The following example shows how you can control the drop shadow on a Flex TextArea control using the dropShadowColor, shadowDirection, and shadowDistance styles.</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/TextArea_dropShadowEnabled_test/main.mxml">View MXML</a></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2007/09/23/creating-drop-shadows-on-the-flex-textarea-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="dropShadowEnabled:"&#62; &#60;mx:CheckBox id="checkBox" selected="true" /&#62; &#60;/mx:FormItem&#62; &#60;mx:FormItem [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can control the drop shadow on a Flex TextArea control using the <code>dropShadowColor</code>, <code>shadowDirection</code>, and <code>shadowDistance</code> styles.</p>
<p>Full code after the jump.</p>
<p><span id="more-201"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/TextArea_dropShadowEnabled_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/09/23/creating-drop-shadows-on-the-flex-textarea-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="dropShadowEnabled:"&gt;
                &lt;mx:CheckBox id="checkBox" selected="true" /&gt;
            &lt;/mx:FormItem&gt;
            &lt;mx:FormItem label="dropShadowColor:"&gt;
                &lt;mx:ColorPicker id="colorPicker" /&gt;
            &lt;/mx:FormItem&gt;
            &lt;mx:FormItem label="shadowDirection:"&gt;
                &lt;mx:ComboBox id="comboBox" selectedIndex="1"&gt;
                    &lt;mx:dataProvider&gt;
                        &lt;mx:Array&gt;
                            &lt;mx:Object label="left" /&gt;
                            &lt;mx:Object label="center" /&gt;
                            &lt;mx:Object label="right" /&gt;
                        &lt;/mx:Array&gt;
                    &lt;/mx:dataProvider&gt;
                &lt;/mx:ComboBox&gt;
            &lt;/mx:FormItem&gt;
            &lt;mx:FormItem label="shadowDistance:"&gt;
                &lt;mx:HSlider id="slider"
                        minimum="-10"
                        maximum="10"
                        value="0"
                        labels="[-10,-5,0,5,10]"
                        liveDragging="true"
                        snapInterval="1"
                        tickInterval="2" /&gt;
            &lt;/mx:FormItem&gt;
        &lt;/mx:Form&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:TextArea id="textArea"
            dropShadowEnabled="{checkBox.selected}"
            dropShadowColor="{colorPicker.selectedColor}"
            shadowDistance="{slider.value}"
            shadowDirection="{comboBox.selectedItem.label}"
            width="320"
            height="120" /&gt;

&lt;/mx:Application&gt;
</pre>
<p class="information"><a href="http://blog.flexexamples.com/wp-content/uploads/TextArea_dropShadowEnabled_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/TextArea_dropShadowEnabled_test/bin/main.html" width="100%" height="360"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Creating drop shadows on the Flex TextArea control on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/09/23/creating-drop-shadows-on-the-flex-textarea-control/',contentID: 'post-201',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dropShadowColor,dropShadowEnabled,shadowDirection,shadowDistance',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/09/23/creating-drop-shadows-on-the-flex-textarea-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating drop shadows on the Flex TextInput control</title>
		<link>http://blog.flexexamples.com/2007/08/30/creating-drop-shadows-on-the-flex-textinput-control/</link>
		<comments>http://blog.flexexamples.com/2007/08/30/creating-drop-shadows-on-the-flex-textinput-control/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 13:48:00 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[TextInput]]></category>
		<category><![CDATA[dropShadowColor]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>
		<category><![CDATA[shadowDirection]]></category>
		<category><![CDATA[shadowDistance]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/30/creating-drop-shadows-on-the-flex-textinput-control/</guid>
		<description><![CDATA[<p>The following example shows how you can easily create a drop shadow effect on a TextInput control using the dropShadowEnabled style (instead of creating a DropShadowFilter), as well as control the drop shadow effect&#8217;s color, direction, and distance (using the dropShadowColor, shadowDirection, and shadowDistance styles, respectively).</p> <p>Full code after the jump.</p> <p></p> <p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/TextInput_dropShadowEnabled_test/main.mxml">View [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can easily create a drop shadow effect on a TextInput control using the <code>dropShadowEnabled</code> style (instead of creating a DropShadowFilter), as well as control the drop shadow effect&#8217;s color, direction, and distance (using the <code>dropShadowColor</code>, <code>shadowDirection</code>, and <code>shadowDistance</code> styles, respectively).</p>
<p>Full code after the jump.</p>
<p><span id="more-150"></span></p>
<p class="download"><a href="http://blog.flexexamples.com/wp-content/uploads/TextInput_dropShadowEnabled_test/main.mxml">View MXML</a></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/08/30/creating-drop-shadows-on-the-flex-textinput-control/ --&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> name=<span style="color: #ff0000;">&quot;TextInput_dropShadowEnabled_test&quot;</span></span>
<span style="color: #000000;">        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;middle&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:ApplicationControlBar</span> dock=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Grid</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:GridRow</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- dropShadowEnabled --&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:GridItem</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:CheckBox</span> id=<span style="color: #ff0000;">&quot;checkBox&quot;</span></span>
<span style="color: #000000;">                            label=<span style="color: #ff0000;">&quot;dropShadowEnabled:&quot;</span></span>
<span style="color: #000000;">                            selected=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #000000;">                            labelPlacement=<span style="color: #ff0000;">&quot;left&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:GridItem</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
                <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- dropShadowColor --&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:GridItem</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Label</span> text=<span style="color: #ff0000;">&quot;dropShadowColor:&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:ColorPicker</span> id=<span style="color: #ff0000;">&quot;colorPicker&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:GridItem</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:GridRow</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:GridRow</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- shadowDirection --&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:GridItem</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Label</span> text=<span style="color: #ff0000;">&quot;shadowDirection:&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:ComboBox</span> id=<span style="color: #ff0000;">&quot;comboBox&quot;</span> selectedIndex=<span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
                            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:String</span><span style="color: #7400FF;">&gt;</span></span>left<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:String</span><span style="color: #7400FF;">&gt;</span></span>
                            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:String</span><span style="color: #7400FF;">&gt;</span></span>center<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:String</span><span style="color: #7400FF;">&gt;</span></span>
                            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:String</span><span style="color: #7400FF;">&gt;</span></span>right<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:String</span><span style="color: #7400FF;">&gt;</span></span>
                        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:ComboBox</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:GridItem</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
                <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!-- shadowDistance --&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:GridItem</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Label</span> text=<span style="color: #ff0000;">&quot;shadowDistance:&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:HSlider</span> id=<span style="color: #ff0000;">&quot;slider&quot;</span></span>
<span style="color: #000000;">                            minimum=<span style="color: #ff0000;">&quot;-10&quot;</span></span>
<span style="color: #000000;">                            maximum=<span style="color: #ff0000;">&quot;10&quot;</span></span>
<span style="color: #000000;">                            value=<span style="color: #ff0000;">&quot;2&quot;</span></span>
<span style="color: #000000;">                            liveDragging=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #000000;">                            snapInterval=<span style="color: #ff0000;">&quot;1&quot;</span></span>
<span style="color: #000000;">                            tickInterval=<span style="color: #ff0000;">&quot;1&quot;</span></span>
<span style="color: #000000;">                            dataTipPrecision=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:GridItem</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:GridRow</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Grid</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:ApplicationControlBar</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:TextInput</span> id=<span style="color: #ff0000;">&quot;textInput&quot;</span></span>
<span style="color: #000000;">            dropShadowEnabled=<span style="color: #ff0000;">&quot;{checkBox.selected}&quot;</span></span>
<span style="color: #000000;">            dropShadowColor=<span style="color: #ff0000;">&quot;{colorPicker.selectedColor}&quot;</span></span>
<span style="color: #000000;">            shadowDirection=<span style="color: #ff0000;">&quot;{comboBox.selectedItem}&quot;</span></span>
<span style="color: #000000;">            shadowDistance=<span style="color: #ff0000;">&quot;{slider.value}&quot;</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/TextInput_dropShadowEnabled_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/TextInput_dropShadowEnabled_test/bin/main.html" width="100%" height="250"></iframe></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Creating drop shadows on the Flex TextInput control on FlexExamples.com',url: 'http://blog.flexexamples.com/2007/08/30/creating-drop-shadows-on-the-flex-textinput-control/',contentID: 'post-150',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'dropShadowColor,dropShadowEnabled,shadowDirection,shadowDistance',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/30/creating-drop-shadows-on-the-flex-textinput-control/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

