Using Components > Customizing component skins

 

Customizing component skins

The Component Skins folder in the library has a Skins folder containing the skins used by all types of component in your Flash document. Some components share skins. Components that use scroll bars—including ComboBox, ListBox, ScrollBar, and ScrollPane—share the skins in the FScrollBar Skins folder, and the ListBox component uses the skins in the ComboBox Skins folder.

You can customize component skins in two ways:

Edit the skins on the Stage.

Create new graphics and break the graphics into skin elements. Then register the elements to a component by editing the code in the first frame of the Read Me layer of each skin in the library.

Both methods of customizing component graphics update all instances of the components that use those skins. It is not possible to customize the skins for only one instance of a component.

The method you use to customize component graphics—editing the symbols in the library or registering new skin elements to the component—depends on how you plan to use the components. If you do not plan to change the color or text properties of the component in the future, editing the symbols in the library is the easier option. If you want to use custom style formats to change the color and text properties of a customized component, creating new graphics and registering the skin elements is the more efficient option.

Changes made to component skins are not displayed when viewing components on the Stage using Live Preview.