Using Components > Customizing component colors and text > Changing properties of all Flash UI components |
![]() ![]() ![]() |
Changing properties of all Flash UI components
The |
To change one or more properties in the global style format:
1 |
Make sure the document contains at least one component instance. See Adding components to Flash documents. |
2 |
Create a new layer in the Timeline and give it a name. |
3 |
Select any frame in the new layer. |
4 |
Open the Actions panel in expert mode. |
5 |
Use the following syntax to change any or all of the properties listed in the style format properties table. You only need to list the properties whose values you want to change. |
globalStyleFormat.darkshadow = 0x333300; globalStyleFormat.shadow = 0x99cc00; globalStyleFormat.highlight3D = 0x333300; globalStyleFormat.highlight = 0x99cc00; globalStyleFormat.face = 0x99cc99; globalStyleFormat.background = 0xffffff; globalStyleFormat.text = 0x000000; globalStyleFormat.radioDot = 0x333300; globalStyleFormat.check = 0x333300; globalStyleFormat.arrow = 0x333300; |
|
6 |
Following the list of object properties, use the following syntax to insert the method for the |
![]() |
To update all properties in the |
![]() |
To update only those properties in the |
7 |
Choose Control > Test Movie to see the changes. |
![]() ![]() ![]() |