R – Flex Changing DataGrid Highlight Color

apache-flexcolorsdatagrid

How can i change the color, when the user mouse over an item on datagrid or tilelist. Basically once the user mouse overs and once the user selects a file. How to change the default color to something else.

The default is blue and i dont like it 🙂

Thanks.

Best Answer

The most powerful tool to manage about graphics effects, color and much more is Flex Style Explorer, which is useful to create .css style sheets for you own Flex/Air application. You can export the .css properties into your Flex project, create yourStyleSheet.css, put it into src folder and than call the file by the following statement:

<mx:Application ... />
<mx:Style source="yourStyleSheet.css" />