ActionScript 2.0 Components Language Reference |
|
|
|
| ComboBox component > Customizing the ComboBox component > Using skins with the ComboBox component | |||
The ComboBox component uses symbols in the library to represent the button states and has skin variables for the down arrow. These skins are located in the Flash UI Components 2/Themes/MMDefault/ComboBox Assets/States folder of the HaloTheme.fla and SampleTheme.fla files. The information below describes these skins and provides steps for customizing them.
The ComboBox component also uses scroll bar skins for the drop-down list's scroll bar and two RectBorder class instances for the border around the text input and drop-down list. For information on customizing these skins, see Using skins with the UIScrollBar component and RectBorder class. For more information on the methods available to skin components, see About skinning components in Using ActionScript 2.0 Components.
A ComboBox component uses the following skin properties:
|
Property |
Description |
|---|---|
ComboDownArrowDisabledName
|
The down arrow's disabled state. The default is |
ComboDownArrowDownName
|
The down arrow's down state. The default is |
ComboDownArrowUpName
|
The down arrow's up state. The default is |
ComboDownArrowOverName
|
The down arrow's over state. The default is |
To create movie clip symbols for ComboBox 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 ComboDownArrowDisabled symbol.
For example, change the inner white square to a light gray.
For this example, use ActionScript to set the ComboBox to disabled.
|
|
|
|