DateChooser.disabledDays

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

dateChooserInstance.disabledDays

Description

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).

Example

The following example disables Sundays and Saturdays so that users can select only weekdays:

my_dc.disabledDays = [0, 6];