User Guide
About themes 113
16. Locate the FocusRect symbol.
In this example, it’s in Flash UI Components 2/Themes/MMDefault/FocusRect.
17. Edit the symbol properties for the FocusRect symbol.
18. Change the AS 2.0 Class setting to reflect your new package.
The example class is mx.skins.myTheme.FocusRect.
19. Click OK.
20.Apply the custom theme to a document by following the steps in the next section.
Remember to include the Defaults and FocusRect symbols when dragging assets from
your custom theme to the target document.
In this example you used a new theme to customize the text color of disabled components.
This particular customization, changing a single default style property value, would have been
accomplished more easily through styling as explained in “Using styles to customize
component color and text” on page 82. Using a new theme to customize defaults is
appropriate when customizing many style properties or when already creating a new theme to
customize component graphics.
Applying a new theme to a document
To apply a new theme to a document, open a theme FLA file as an external library, and drag
the theme folder from the external library to the document library. The following steps
explain the process in detail, assuming you already have a new theme (for more information,
see “Creating a new theme” on page 111).
To apply a theme to a document:
1. Select File > Open and open the document that uses version 2 components in Flash, or
select File > New and create a new document that uses version 2 components.
2. Select File > Import > Open External Library, and select the FLA file of the theme you want
to apply to your document.