ActionScript 2.0 Components Language Reference |
|
|
|
| DateField component > DateField.disabledDays | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
dateFieldInstance.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 between 0 (Sunday) and 6 (Saturday). The default value is [] (an empty array).
The following example disables Sundays and Saturdays so that users can select only weekdays:
my_df.disabledDays = [0, 6];
|
|
|
|