3/16/2010 12:04:30 PM
Title:
How to change global style dynamically
I want to change style of all my buttons in my flex application. how can i do that in flex
3/16/2010 12:12:33 PM
you can use the style manager class in flex to change the global styles of any component in flex. In the following example I am changing "fillcolors" style of all buttons of my flex application.
StyleManager.getStyleDeclaration("Button").setStyle("fillColors", [0x069000, 0xffffff, 0x69000, 0xeeeeee]);