Flash CS3 Documentation |
|||
| Using ActionScript 2.0 Components > Customizing Components > About skinning components > Editing component skins in a document | |||
To edit the skins associated with all instances of a particular component in a single document, copy the skin symbols from the theme to the document and edit the graphics as desired.
The procedure described below is very similar to creating and applying a new theme (see About themes). The primary difference is that this procedure describes copying symbols directly from the theme already in use to a single document and editing only a small number of all skins available. This is appropriate when your modifications are all in a single document and when you are modifying skins for only a few components. If the edited skins will be shared in multiple documents or encompass changes in several components, you may find editing the skins easier if you create a new theme.
An article on advanced skinning can be found online in the Adobe Developer Center at www.adobe.com/devnet/flash/articles/skinning_2004.html.
This file is located in the application-level configuration folder. For the exact location on your operating system, see About themes.
For example, drag the RadioButton Assets folder to the ThemeApply.fla library.
For example, the Assets folder for the RadioButton component is called RadioButton Assets; it has a symbol called RadioButtonAssets, which contains all of the individual asset symbols. If you set Export in First Frame on the RadioButtonAssets symbol, all individual asset symbols will also export in the first frame.
For example, open the States/RadioFalseDisabled symbol.
You may need to select View > Zoom In to increase the magnification. When you edit a skin, you must maintain the registration point in order for the skin to be displayed correctly. The upper-left corner of all edited symbols must be at (0,0).
For example, change the inner circle to a light gray.
|
NOTE |
|
The live preview of the components on the Stage will not reflect the edited skins. |
In this example, make sure you have a RadioButton instance on the Stage and set its enabled property to false in the Actions panel in order to see the new disabled RadioButton appearance.
Flash CS3