ActionScript 2.0 Components Language Reference |
|
|
|
| DateChooser component > DateChooser.disabledDays | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
dateChooserInstance.disabledDays
Property; an array indicating the disabled days of the week. All the dates in a month that fall on the specified day are disabled. The elements of this array can have values from 0 (Sunday) to 6 (Saturday). The default value is [] (an empty array).
The following example disables Sundays and Saturdays so that users can select only weekdays:
my_dc.disabledDays = [0, 6];
|
|
|
|