Components Flex



    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark" width="600" height="600"
    creationComplete="setButtonStyles();">
    
         
        public function setButtonStyles():void { 
            comp.getHeaderAt(0).setStyle('color', 0xAA0000); 
            comp.getHeaderAt(1).setStyle('color', 0x00AA00); 
        }