Using Skins with the ComboBox

The ComboBox uses the following skins to represent its visual states:

ComboBox skins


You can change the color of the Up skin to change the color of the component in its inactive state on the Stage.

To change the color of the Background skin:

  1. Create a new Flash file (ActionScript 3.0) document.
  2. Drag the ComboBox component to the Stage.
  3. Double-click it to open its palette of skins.
  4. Double-click the Up skin until it is selected and open for editing.
  5. Set the zoom control to 400%.
  6. Click the center area of the skin until its color appears in the Fill color picker in the Property inspector.
  7. Select color #33FF99 using the Fill color picker to apply it to the Up skin.
  8. Click the Back button at the left side of the edit bar above the Stage to return to document-editing mode.
  9. Select Control > Test Movie.

    The ComboBox should appear on the Stage as shown in the following illustration.

ComboBox with customized color for Background skin