
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".
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...