-
Components themeColor
I am using v2 components, and Im trying to set the styles for my application. When I have the code shown below only the alert and combobox come up with the style, for the textinputs and the buttons I have to go threw and set each instance name like submit_btn.setStyle("themeColor", "0x336699");
import mx.controls.Alert;
import mx.controls.Button;
import mx.controls.ComboBox;
import mx.controls.TextInput;
_global.styles.Alert.setStyle("themeColor", "0x95B8DB");
_global.styles.Alert.setStyle("themeColor", "0x95B8DB");
_global.styles.TextInput.setStyle("themeColor", "0x0x336699");
_global.styles.ComboBox.setStyle("themeColor", "0x95B8DB");
_global.styles.Button.setStyle("themeColor", "0x336699");