ActionScript 2.0 Components Language Reference |
|
|
|
| DateChooser component > Customizing the DateChooser component > Using skins with the DateChooser component | |||
The DateChooser component uses skins to represent the forward and back month buttons and the today indicator. To skin the DateChooser component while authoring, modify skin symbols in the Flash UI Components 2/Themes/MMDefault/DateChooser Assets/States folder in the library of one of the themes' FLA files. For more information, see About skinning components in Using ActionScript 2.0 Components.
Only the month scrolling buttons can be dynamically skinned in this component. A DateChooser component uses the following skin properties:
|
Property |
Description |
|---|---|
backMonthButtonUpSymbolName
|
The month back button up state. The default value is |
backMonthButtonDownSymbolName
|
The month back button pressed state. The default value is |
backMonthButtonDisabledSymbolName
|
The month back button disabled state. The default value is |
fwdMonthButtonUpSymbolName
|
The month forward button up state. The default value is |
fwdMonthButtonDownSymbolName
|
The month forward button pressed state. The default value is |
fwdMonthButtonDisabledSymbolName
|
The month forward button disabled state. The default value is |
The button symbols are used exactly as is, without applying colors or resizing. The size is determined by the symbol during authoring.
To create movie clip symbols for DateChooser skins:This file is located in the application-level configuration folder. For the exact location on your operating system, see About themes in Using ActionScript 2.0 Components.
For example, open the backMonthDown symbol.
For example, change the tint of the arrow to red.
For example, change the tint of the forward arrow down symbol to match the back arrow.
|
|
|
|