PDA

View Full Version : components setStyle


crazydev
05-03-2008, 03:30 PM
hey Flash Gurus
Is there any documentation or some tutorial which can explain all components setStyle issues. how to setStyle for combobox? how to change backgroungColor for button etc

kbtdk
05-03-2008, 04:11 PM
in the help files within flash, select component from the drop down list, and scroll to the component you want to style, and click on the +sign and select "Customizing Component" this will give you all the info you need. to set the backgroundColor for comboBox the code would be. comboBox is the instance name
comboBox.setStyle("backgroundColor", 0xFF0000)//which set the bg color to red.