Components Flex


    
        
    
    
        
            import mx.events.ColorPickerEvent;
            private function setColor(evt:ColorPickerEvent):void{
                cnv.setStyle("backgroundColor",evt.color); 
            }