Here is the code.
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
public function setDate():void{
myDC.selectedDate =new Date(2006,11,25);
}
]]>
</mx:Script>
<mx:DateChooser id="myDC"/>
<mx:Button label="Set Christmas date" click="setDate()"/>
</mx:Application>
You can see that the selected date is getting higlighted once the button is clicked
Samuel Reuben <[EMAIL PROTECTED]> wrote:
test... reply for Anand...
On 8/9/06, Bas J. Brey <[EMAIL PROTECTED]com > wrote:I'm working with DateField components a lot and when i set the selectedDate of the DateField component the connected DateChooser does show the correct Year and Month, but does not highlight the selected Day!Any clues on how to work around this?
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min. __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___

