User Guide

354 Chapter 6: Components Dictionary
6.
Customize the symbol as desired.
For example, change the tint of the arrow to red.
7.
Repeat steps 5-6 for all symbols you want to customize.
For example, change the tint of the forward arrow down symbol to match the back arrow.
8.
Click the Back button to return to the main Timeline.
9.
Drag a DateChooser component to the Stage.
10.
Select Control > Test Movie.
Note: The DateChooser Assets/States folder also has a Day Skins folder with a single skin element,
cal_todayIndicator. This element can be modified during authoring to customize the today indicator.
However, it cannot be changed dynamically on a particular DateChooser instance to use a different
symbol. In addition, the
cal_todayIndicator symbol must be a solid single-color graphic, because the
DateChooser component will apply the
todayColor color to the graphic as a whole. The graphic may
have cut-outs, but keep in mind that the default text color for today’s date is white and the default
background for the DateChooser is white, so a cut-out in the middle of the today indicator skin
element would make today’s date unreadable unless either the background color or today text color is
also changed.
DateChooser class (Flash Professional only)
Inheritance MovieClip > UIObject class > UIComponent class > DateChooser
ActionScript Class Name mx.controls.DateChooser
The properties of the DateChooser class let you access the selected date and the displayed month
and year. You can also set the names of the days and months, indicate disabled dates and selectable
dates, set the first day of the week, and indicate whether the current date should be highlighted.
Setting a property of the DateChooser class with ActionScript overrides the parameter of the same
name set in the Property inspector or Component inspector.
Each component class has a
version property, which is a class property. Class properties are
available only on the class itself. The
version property returns a string that indicates the version
of the component. To access this property, use the following code:
trace(mx.controls.DateChooser.version);
Note: The code
trace(myDC.version); returns undefined.
Method summary for the DateChooser class
There are no methods exclusive to the DateChooser class.