<?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; DateField</title>
	<atom:link href="http://blog.minidx.com/category/flex/datefield-flex/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中如何利用skin样式修改DateField中默认的日历图标的例子</title>
		<link>http://blog.minidx.com/2009/01/19/1958.html</link>
		<comments>http://blog.minidx.com/2009/01/19/1958.html#comments</comments>
		<pubDate>Mon, 19 Jan 2009 00:19:17 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[Skin]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1958</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用skin样式，修改DateField中默认的日历图标。
让我们先来看一下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;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; DateField {
&#160; &#160; &#160; &#160; &#160; &#160; skin: Embed(&#34;clock_add.png&#34;);
&#160; &#160; &#160; &#160; &#160; &#160; /* null the skins defined in default.css */
&#160; &#160; &#160; &#160; &#160; &#160; upSkin: ClassReference(null);
&#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/01/19/1958.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过dropShadowEnabled样式给DateField的DateChooser添加/删除阴影效果的例子</title>
		<link>http://blog.minidx.com/2009/01/15/1940.html</link>
		<comments>http://blog.minidx.com/2009/01/15/1940.html#comments</comments>
		<pubDate>Thu, 15 Jan 2009 13:33:42 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[dateChooserStyleName]]></category>
		<category><![CDATA[dropShadowEnabled]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1940</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过dropShadowEnabled样式，给DateField的DateChooser添加/删除阴影效果。
让我们先来看一下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;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; .myDateChooser {
&#160; &#160; &#160; &#160; &#160; &#160; dropShadowEnabled: false;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#60;/mx:Style&#62;
&#160;
&#160; &#160; &#60;mx:Form&#62;
&#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;With drop shadow:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:DateField&#160;/&#62;
&#160; &#160; &#160; &#160; &#60;/mx:FormItem&#62;
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/01/15/1940.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何利用todayIndicatorSkin样式给DateField的当前日期设置一个个性化的背景图片的例子</title>
		<link>http://blog.minidx.com/2009/01/13/1920.html</link>
		<comments>http://blog.minidx.com/2009/01/13/1920.html#comments</comments>
		<pubDate>Tue, 13 Jan 2009 13:44:04 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[todayIndicatorSkin]]></category>
		<category><![CDATA[todayStyleName]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1920</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用todayIndicatorSkin样式，给DateField的当前日期设置一个个性化的背景图片。
让我们先来看一下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;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; DateField {
&#160; &#160; &#160; &#160; &#160; &#160; dateChooserStyleName: myDateChooser;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; .myDateChooser {
&#160; &#160; &#160; &#160; &#160; &#160; todayIndicatorSkin: Embed(&#34;star.png&#34;);
&#160; &#160; &#160; &#160; &#160; &#160; todayStyleName: myToday;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/01/13/1920.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何利用todayStyleName样式控制DateField的DateChooser是否标识显示当前日期的例子</title>
		<link>http://blog.minidx.com/2009/01/10/1913.html</link>
		<comments>http://blog.minidx.com/2009/01/10/1913.html#comments</comments>
		<pubDate>Sat, 10 Jan 2009 10:17:32 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[dateChooserStyleName]]></category>
		<category><![CDATA[showToday]]></category>
		<category><![CDATA[todayColor]]></category>
		<category><![CDATA[todayStyleName]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1913</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用todayStyleName样式，控制DateField的DateChooser是否标识显示当前日期。
让我们先来看一下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;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; DateField {
&#160; &#160; &#160; &#160; &#160; &#160; todayColor: haloOrange;
&#160; &#160; &#160; &#160; &#160; &#160; dateChooserStyleName: myCustomDateChooser;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; .myCustomDateChooser {
&#160; &#160; &#160; &#160; &#160; &#160; todayStyleName: myCustomTodayStyleName;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/01/10/1913.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何给DateField的DateChooser设置背景颜色的例子</title>
		<link>http://blog.minidx.com/2009/01/09/1906.html</link>
		<comments>http://blog.minidx.com/2009/01/09/1906.html#comments</comments>
		<pubDate>Fri, 09 Jan 2009 00:44:12 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[dateChooserStyleName]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1906</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何给DateField的DateChooser设置背景颜色。
让我们先来看一下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;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; .subDateChooser {
&#160; &#160; &#160; &#160; &#160; &#160; backgroundColor: black;
&#160; &#160; &#160; &#160; &#160; &#160; color: white;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#60;/mx:Style&#62;
&#160;
&#160; &#160; &#60;mx:DateField&#160;id=&#34;dateField&#34;
&#160; &#160; &#160; &#160; &#160; &#160; dateChooserStyleName=&#34;subDateChooser&#34;&#160;/&#62;
&#160;
&#60;/mx:Application&#62;
代码：Peter deHaan 翻译/整理/编译：中文Flex例子

你可能还对下列文章感兴趣:Flex中如何通过dropShadowEnabled样式给DateField的DateChooser添加/删除阴影效果的例子Flex中如何利用todayStyleName样式控制DateField的DateChooser是否标识显示当前日期的例子Flex中如何通过dateChooserStyleName样式和设置不同skin值来改变DateField控件next/previous月导航图标的例子Flex中如何利用skin样式修改DateField中默认的日历图标的例子Flex中如何利用todayIndicatorSkin样式给DateField的当前日期设置一个个性化的背景图片的例子]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/01/09/1906.html/feed</wfw:commentRss>
		<slash:comments>0</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/20 queries in 0.184 seconds using disk
Object Caching 419/784 objects using disk

Served from: blog.minidx.com @ 2012-02-10 01:35:12 -->
