<?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; firstDayOfWeek</title>
	<atom:link href="http://blog.minidx.com/tag/firstdayofweek/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中如何通过firstDayOfWeek属性设置DateField控件的弹出窗口是否为星期天的例子</title>
		<link>http://blog.minidx.com/2008/11/08/1613.html</link>
		<comments>http://blog.minidx.com/2008/11/08/1613.html#comments</comments>
		<pubDate>Sat, 08 Nov 2008 06:42:01 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[DateField]]></category>
		<category><![CDATA[DateBase]]></category>
		<category><![CDATA[dayNamesShort]]></category>
		<category><![CDATA[firstDayOfWeek]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1613</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过firstDayOfWeek属性，设置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:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import mx.events.SliderEvent;
&#160; &#160; &#160; &#160; &#160; &#160; import mx.formatters.DateBase;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function dateField_labelFunc(item:Date):String {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; return dateFormatter.format(item);
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/11/08/1613.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中通过dayNames和firstDayOfWeek属性设置DateChooser控件星期名称的例子</title>
		<link>http://blog.minidx.com/2008/08/02/1205.html</link>
		<comments>http://blog.minidx.com/2008/08/02/1205.html#comments</comments>
		<pubDate>Fri, 01 Aug 2008 17:28:35 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[DateBase]]></category>
		<category><![CDATA[DateChooser]]></category>
		<category><![CDATA[DateField]]></category>
		<category><![CDATA[dayNames]]></category>
		<category><![CDATA[dayNamesLong]]></category>
		<category><![CDATA[dayNamesShort]]></category>
		<category><![CDATA[firstDayOfWeek]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/08/02/1205.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中通过dayNames和firstDayOfWeek属性，设置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;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;
&#160; &#160; &#160; &#160; creationComplete=&#34;init()&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import mx.formatters.DateBase;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; [Bindable]
&#160; &#160; &#160; &#160; &#160; &#160; private var dayNamesDefaultArr:Array;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; [Bindable]
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/08/02/1205.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何利用ActionScript封装类对一周的日期名称进行封装(DateFormatter中)的例子</title>
		<link>http://blog.minidx.com/2008/06/25/928.html</link>
		<comments>http://blog.minidx.com/2008/06/25/928.html#comments</comments>
		<pubDate>Wed, 25 Jun 2008 15:01:04 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[DateField]]></category>
		<category><![CDATA[DateFormatter]]></category>
		<category><![CDATA[firstDayOfWeek]]></category>
		<category><![CDATA[labelFunction]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/06/25/928.html</guid>
		<description><![CDATA[很多时候我们都需要为星期一是第0天还是第1天而烦恼，接下来一点常用的小技巧演示了Flex中如何利用ActionScript封装类，对一周的日期名称进行封装(DateFormatter中)，从而让我们无需关注是第0天还是第1天的问题。
让我们先来看一下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; layout=&#34;vertical&#34; verticalAlign=&#34;middle&#34; 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 doLabel(item:Date):String {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; return dateFormatter.format(item);
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; ]]&#62;
&#160; &#160; &#60;/mx:Script&#62;
&#160;
&#160; &#160; &#60;mx:DateFormatter&#160;id=&#34;dateFormatter&#34; formatString=&#34;MMM D, YYYY&#34;/&#62;
&#160;
&#160; &#160; &#60;mx:DateField&#160;todayColor=&#34;red&#34; labelFunction=&#34;doLabel&#34; firstDayOfWeek=&#34;{Days.MONDAY}&#34; /&#62;
&#160;
&#60;/mx:Application&#62;
下面是ActionScript封装类的代码：
// ActionScript [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/06/25/928.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中利用firstDayOfWeek属性改变DateChooser控件日历(calendar)布局的例子</title>
		<link>http://blog.minidx.com/2008/05/31/881.html</link>
		<comments>http://blog.minidx.com/2008/05/31/881.html#comments</comments>
		<pubDate>Fri, 30 May 2008 16:49:51 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[DateChooser]]></category>
		<category><![CDATA[firstDayOfWeek]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/05/31/881.html</guid>
		<description><![CDATA[接下来的例子中演示了Flex的DateChooser控件中，如何通过firstDayOfWeek属性，改变DateChooser控件日历(calendar)的布局。Demo中通过移动下面的游标进行调整。
让我们先来看一下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; layout=&#34;vertical&#34; verticalAlign=&#34;middle&#34; 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 var dayNames:Array = [&#34;Sunday&#34;, &#34;Monday&#34;, &#34;Tuesday&#34;, &#34;Wednesday&#34;, &#34;Thursday&#34;, &#34;Friday&#34;, &#34;Saturday&#34;];
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function getDayName(item:Number):String {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; return dayNames[item];
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/05/31/881.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/26 queries in 0.401 seconds using disk
Object Caching 363/705 objects using disk

Served from: blog.minidx.com @ 2012-02-09 22:04:39 -->
