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
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
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
themeColor
color
disabledColor
fontFamily
fontSize
fontStyle
fontWeight
textDecoration
indicates which day of the week (0-6, 0 being the first element of the
Description
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".
The text of a component label.
The disabled color for text.
The font name for text.
The point size for the font.
The font style: either "normal", or "italic".
The font weight: either "normal", or "bold".
The text decoration: either "none", or "underline".
dayNames
.
true
DateChooser component
213
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers