Components
Changing component appearance
It is possible to change look of all components at once by changing the "global format".- Install several various components on the stage – check box, radio button, list. Also add PushButton from the Components panel
- Enter the following code in the first frame
globalStyleFormat.textFont = "Helvetica"; globalStyleFormat.textColor = 0x4E018D; globalStyleFormat.background = 0xE9D8FC; globalStyleFormat.highlight= 0xFCD8EB; globalStyleFormat.selection = 0x7C01E2; globalStyleFormat.highlight3D= 0xFCD8EB; globalStyleFormat.darkshadow = 0x7231A8; globalStyleFormat.shadow = 0xD0AEBA; globalStyleFormat.face = 0xECDDE2; globalStyleFormat.textSize=11; globalStyleFormat.applyChanges(); - Change properties of globalStyleFormat object - pick the nice font from available on your computer, find a good color scheme
- Be aware that Flash components are "heavyweight" if compare to simple text fields and buttons. They load longer and are bigger in size