If the selectedDate of a DateChooser is set to a date that is created 
using new Date() with no arguments (or any similar constructor to get 
the current date/time), the selectedDate is not highlighted on the 
DateChooser when showToday is false.
Interestingly, it works if the date created using new Date(2006,2,15), 
but I would just like to highlight today's date whatever that is.

Here's an example:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"; 
xmlns="*">
        <mx:DateChooser showToday="false" selectedDate="{now}"/>
        <mx:Script>
                [Bindable]
                public var now:Date = new Date();
        </mx:Script>
</mx:Application>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to