<?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例子 &#187; Color</title>
	<atom:link href="http://blog.minidx.com/tag/color/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex中如何设置CheckBox标签(Label)与主题(theme )颜色的例子</title>
		<link>http://blog.minidx.com/2009/06/28/2656.html</link>
		<comments>http://blog.minidx.com/2009/06/28/2656.html#comments</comments>
		<pubDate>Sun, 28 Jun 2009 02:13:39 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[CheckBox]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[styleName]]></category>
		<category><![CDATA[textRollOverColor]]></category>
		<category><![CDATA[textSelectedColor]]></category>
		<category><![CDATA[themeColor]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2656</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何设置CheckBox标签(Label)与主题(theme )颜色。
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;CheckBox_color_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; CheckBox {
&#160; &#160; &#160; &#160; &#160; &#160; fontWeight: bold;
&#160; &#160; &#160; &#160; &#160; &#160; iconColor: green;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; .selectedStyle {
&#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/06/28/2656.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过headerStyleName和color样式设置DataGrid头部列文本颜色的例子</title>
		<link>http://blog.minidx.com/2009/06/26/2651.html</link>
		<comments>http://blog.minidx.com/2009/06/26/2651.html#comments</comments>
		<pubDate>Fri, 26 Jun 2009 14:08:42 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[headerStyleName]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2651</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过headerStyleName和color样式，设置DataGrid头部列文本颜色。
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;DataGrid_headerStyleName_color_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; .myHeaderStyles {
&#160; &#160; &#160; &#160; &#160; &#160; color: red;
&#160; &#160; &#160; &#160; &#160; &#160; fontWeight: bold;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#60;/mx:Style&#62;
&#160;
&#160; &#160; &#60;mx:Array&#160;id=&#34;arrDP&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Object&#160;c=&#34;1&#34; c1=&#34;One&#34; c2=&#34;Two&#34; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/06/26/2651.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中按钮颜色相关的color, disabledColor, textRollOverColor和textSelectedColor样式的例子</title>
		<link>http://blog.minidx.com/2008/08/12/1250.html</link>
		<comments>http://blog.minidx.com/2008/08/12/1250.html#comments</comments>
		<pubDate>Tue, 12 Aug 2008 13:04:23 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Button]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[disabledColor]]></category>
		<category><![CDATA[textRollOverColor]]></category>
		<category><![CDATA[textSelectedColor]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/08/12/1250.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中利用color, disabledColor, textRollOverColor和textSelectedColor样式，设置有效状态和无效状态下按钮颜色。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;dock=&#34;true&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Label&#160;text=&#34;color:&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;mx:ColorPicker&#160;id=&#34;colorCB&#34; /&#62;
&#160;
&#160; &#160; &#160; &#160; &#60;mx:Spacer&#160;width=&#34;33%&#34; /&#62;
&#160;
&#160; &#160; &#160; &#160; &#60;mx:Label&#160;text=&#34;textRollOverColor:&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;mx:ColorPicker&#160;id=&#34;textRollOverColorCB&#34; /&#62;
&#160;
&#160; &#160; &#160; &#160; &#60;mx:Spacer&#160;width=&#34;33%&#34; /&#62;
&#160;
&#160; &#160; &#160; &#160; &#60;mx:Label&#160;text=&#34;textSelectedColor:&#34; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/08/12/1250.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中转化以及格式化颜色值的例子</title>
		<link>http://blog.minidx.com/2008/07/21/1105.html</link>
		<comments>http://blog.minidx.com/2008/07/21/1105.html#comments</comments>
		<pubDate>Sun, 20 Jul 2008 21:53:47 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[ColorPicker]]></category>
		<category><![CDATA[Hex]]></category>
		<category><![CDATA[RGB]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/07/21/1105.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何将颜色的值转化为字符串，根据RGB计算出各个值以及格式化颜色值。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function fixedInt(value:int, mask:String):String {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; return String(mask + value.toString(16)).substr(-mask.length).toUpperCase();
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/07/21/1105.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何设置TextArea控件中的无效(disabled)文本颜色的例子</title>
		<link>http://blog.minidx.com/2008/04/27/777.html</link>
		<comments>http://blog.minidx.com/2008/04/27/777.html#comments</comments>
		<pubDate>Sun, 27 Apr 2008 02:43:44 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[disabledColor]]></category>
		<category><![CDATA[enabled]]></category>
		<category><![CDATA[StringUtil]]></category>
		<category><![CDATA[TextArea]]></category>
		<category><![CDATA[trim]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/04/27/777.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过设定TextArea控件的color和disabledColor样式，设定文本在有效，无效状态下的颜色。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import mx.utils.StringUtil;
&#160; &#160; &#160; &#160; ]]&#62;
&#160; &#160; &#60;/mx:Script&#62;
&#160;
&#160; &#160; &#60;mx:String&#160;id=&#34;lorem&#34; source=&#34;lorem.html&#34; /&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;dock=&#34;true&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Form&#160;styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;color:&#34;&#62;
&#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/04/27/777.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/32 queries in 0.819 seconds using disk
Object Caching 426/833 objects using disk

Served from: blog.minidx.com @ 2012-02-09 10:53:59 -->
