User Guide
DateChooser component 213
DataChooser parameters
The following are authoring parameters that you can set for each DataChooser component
instance in the Property inspector.
monthNames sets the month names that are displayed in the heading row of the calendar. The
value is an array and the default value is
[“January“,“February“,“March“,“April“,“May“,“June“,“July“,“August“,“September“,“October“,“
November“,“December“].
dayNames sets the names of the days of the week. The value is an array and the default value is
[“S“,“M“,“T“,“W“,“T“,“F“,“S“,].
firstDayOfWeek indicates which day of the week (0-6, 0 being the first element of the dayNames
array) is displayed in the first column of the DateChooser. This property changes the display
order of the day columns.
disabledDays indicates the disabled days of the week. This parameter is an array and can have up
to 7 values. The default value is [] (an empty array).
showToday indicates whether or not to highlight today’s date. The default value is true.
You can write script to control these and additional options for the DateChooser component
using its properties, methods, and events. For more information, see “DateChooser class” in the
Flash documentation.
Using styles with the DateChooser component
You can set style properties to change the appearance of a DateChooser instance. If the name of a
style property ends in “Color”, it is a color style property and behaves differently than non-color
style properties.
A DateChooser component supports the following Halo styles:
Style Description
themeColor
The glow color for the rollover and selected dates. This is the only
color style that doesn’t inherit its value. Possible values are
"haloGreen", "haloBlue", and "haloOrange".
color
The text of a component label.
disabledColor
The disabled color for text.
fontFamily
The font name for text.
fontSize
The point size for the font.
fontStyle
The font style: either "normal", or "italic".
fontWeight
The font weight: either "normal", or "bold".
textDecoration
The text decoration: either "none", or "underline".