Customize the symbol as desired.
6.
For example, change the tint of the arrow to red.
Repeat steps 5-6 for all symbols you want to customize.
7.
For example, change the tint of the forward arrow down symbol to match the back arrow.
Click the Back button to return to the main Timeline.
8.
Drag a DateChooser component to the Stage.
9.
Select Control > Test Movie.
10.
Note: The DateChooser Assets/States folder also has a Day Skins folder with a single skin element,
cal_todayIndicator
However, it cannot be changed dynamically on a particular DateChooser instance to use a different
symbol. In addition, the
DateChooser component will apply the
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 >
ActionScript Class Name
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
available only on the class itself. The
of the component. To access this property, use the following code:
trace(mx.controls.DateChooser.version);
Note: The code
trace(myDC.version);
Method summary for the DateChooser class
There are no methods exclusive to the DateChooser class.
354
Chapter 6: Components Dictionary
. This element can be modified during authoring to customize the today indicator.
cal_todayIndicator
todayColor
UIObject class
mx.controls.DateChooser
property, which is a class property. Class properties are
version
version
returns
symbol must be a solid single-color graphic, because the
color to the graphic as a whole. The graphic may
>
UIComponent class
property returns a string that indicates the version
.
undefined
> DateChooser
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers