Using Skins with the ColorPicker

The ColorPicker component uses the following skins to represent its visual states.

.ColorPicker skins

ColorPicker skins


You can change the color of the Background skin to change the color of the palette background.

To change the color of the Background skin:

  1. Create a new Flash file (ActionScript 3.0) document.
  2. Drag the ColorPicker component to the Stage.
  3. Double-click it to open its palette of skins.
  4. Double-click the Background skin until it is selected and the Fill color picker appears in the Property inspector.
  5. Select color #999999 using the Fill color picker to apply it to the Background skin.
  6. Click the Back button at the left side of the edit bar above the Stage to return to document-editing mode.
  7. Select Control > Test Movie.

    When you click on the ColorPicker, the background of the palette should be gray as shown in the following illustration.

ColorPicker with dark grey Background skin