User Guide
DateChooser component (Flash Professional only) 365
DateChooser.selectedDate
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDC.selectedDate
Description
Property; a Date object that indicates the selected date if that value falls within the value of the
selectableRange property. The default value is undefined.
You cannot set the
selectedDate property within a disabled range, outside a selectable range, or
on a day that has been disabled. If this property is set to one of these dates, the value is
undefined.
Example
The following example sets the selected date to June 7:
myDC.selectedDate = new Date(2003, 5, 7);
DateChooser.showToday
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDC.showToday
Description
Property; a Boolean value that determines whether the current date is highlighted. The default
value is
true.
Example
The following example turns off the highlighting on today’s date:
myDC.showToday = false;