<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Detecting when the user changes the selected month in the DateChooser control in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Subash</title>
		<link>http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/comment-page-1/#comment-6549</link>
		<dc:creator>Subash</dc:creator>
		<pubDate>Tue, 08 Dec 2009 06:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/#comment-6549</guid>
		<description>Peter, thank you for displayedMonth and displayedYear properties stuff. I was exactly looking for it. Thanks..</description>
		<content:encoded><![CDATA[<p>Peter, thank you for displayedMonth and displayedYear properties stuff. I was exactly looking for it. Thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emma Ka</title>
		<link>http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/comment-page-1/#comment-5647</link>
		<dc:creator>Emma Ka</dc:creator>
		<pubDate>Wed, 09 Sep 2009 08:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/#comment-5647</guid>
		<description>You&#039;ve extraordinary helpful. I truly appreciate it. Thank you! I will be forever able to capture a specific displayedMonth and/or Year in any DateChooser and bind it to a related event, because you gave a damn.</description>
		<content:encoded><![CDATA[<p>You&#8217;ve extraordinary helpful. I truly appreciate it. Thank you! I will be forever able to capture a specific displayedMonth and/or Year in any DateChooser and bind it to a related event, because you gave a damn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/comment-page-1/#comment-3172</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 27 Apr 2009 14:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/#comment-3172</guid>
		<description>André Baptista,

Look into the &lt;code&gt;displayedMonth&lt;/code&gt; and &lt;code&gt;displayedYear&lt;/code&gt; properties. You can use data binding or listen for the &lt;code&gt;DateChooserEvent.SCROLL&lt;/code&gt; event, as seen in the following example:

&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.events.DateChooserEvent;

            private function dateChooser_scroll(evt:DateChooserEvent):void {
                trace(&quot;displayeYear:&quot;, dateChChChooser.displayedYear);
                trace(&quot;displayedMonth:&quot;, dateChChChooser.displayedMonth);
                trace(&quot;displayedMonth as String:&quot;, dateChChChooser.monthNames[dateChChChooser.displayedMonth]);
                trace(&quot;&quot;);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:DateChooser id=&quot;dateChChChooser&quot;
            yearNavigationEnabled=&quot;true&quot;
            scroll=&quot;dateChooser_scroll(event);&quot; /&gt;
    &lt;mx:Label text=&quot;{dateChChChooser.displayedYear}&quot; /&gt;
    &lt;mx:Label text=&quot;{dateChChChooser.displayedMonth}&quot; /&gt;
    &lt;mx:Label text=&quot;{dateChChChooser.monthNames[dateChChChooser.displayedMonth]}&quot; /&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>André Baptista,</p>
<p>Look into the <code>displayedMonth</code> and <code>displayedYear</code> properties. You can use data binding or listen for the <code>DateChooserEvent.SCROLL</code> event, as seen in the following example:</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.events.DateChooserEvent;

            private function dateChooser_scroll(evt:DateChooserEvent):void {
                trace("displayeYear:", dateChChChooser.displayedYear);
                trace("displayedMonth:", dateChChChooser.displayedMonth);
                trace("displayedMonth as String:", dateChChChooser.monthNames[dateChChChooser.displayedMonth]);
                trace("");
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:DateChooser id="dateChChChooser"
            yearNavigationEnabled="true"
            scroll="dateChooser_scroll(event);" /&gt;
    &lt;mx:Label text="{dateChChChooser.displayedYear}" /&gt;
    &lt;mx:Label text="{dateChChChooser.displayedMonth}" /&gt;
    &lt;mx:Label text="{dateChChChooser.monthNames[dateChChChooser.displayedMonth]}" /&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: André Baptista</title>
		<link>http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/comment-page-1/#comment-3171</link>
		<dc:creator>André Baptista</dc:creator>
		<pubDate>Sun, 26 Apr 2009 17:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/#comment-3171</guid>
		<description>Hello!

This is part of what I was looking for. I know can detect that an event occurred in the next or previous month button.

But how can I detect the Month and Year without selecting a specific day within the DateChooser control ? (I want to get the label info of the month and year I&#039;m currently looking at...)

Thanks a lot !

Cheers.</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>This is part of what I was looking for. I know can detect that an event occurred in the next or previous month button.</p>
<p>But how can I detect the Month and Year without selecting a specific day within the DateChooser control ? (I want to get the label info of the month and year I&#8217;m currently looking at&#8230;)</p>
<p>Thanks a lot !</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles</title>
		<link>http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/comment-page-1/#comment-3170</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Fri, 02 May 2008 13:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/#comment-3170</guid>
		<description>Thanks for this post. I spend hours to find the solution to do this.

Charles, www.tldsco.com</description>
		<content:encoded><![CDATA[<p>Thanks for this post. I spend hours to find the solution to do this.</p>
<p>Charles, <a href="http://www.tldsco.com" rel="nofollow">http://www.tldsco.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claudiu</title>
		<link>http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/comment-page-1/#comment-3169</link>
		<dc:creator>Claudiu</dc:creator>
		<pubDate>Wed, 30 Apr 2008 06:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/04/29/detecting-when-the-user-changes-the-selected-month-in-the-datechooser-control-in-flex/#comment-3169</guid>
		<description>Great job! I&#039;m watching you and every tutorial is helping me to understand Flex. Thank you</description>
		<content:encoded><![CDATA[<p>Great job! I&#8217;m watching you and every tutorial is helping me to understand Flex. Thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>

