- Home
- Tutorials
- Flash
- Intermediate
- Styling a dataGrid (the badly documented parts)

styling the scrollBar component
Mikael Wirén
Rich Media developer since back in -96. Prefered tools of war: -Flash -Flex -Director (still can´t get over Macromedias backstab)
View all articles by Mikael WirénThis far, we haven´t really stumbled into anything tricky, have we?
Of course not, i put it all together in the end.
Styling the scrollBar.
This part was what took me the most time to track down. And it´s not simple, netiher straight forward, but it´s definitely doable.
Even though i almost forgot how to do it, before writing this.
To be able to style the scrollbar we have to change skin it´s skin. Very logical isn´t it?
You can change skins on a component by drag/dropping the components assets in your library.
The search path to the "sample theme" skin we´re after is:
..\Macromedia\Flash 8\en\Configuration\ComponentFLA\sampleTheme.fla
and in the library there finding the folder scrollBar Assets under Themes/MMDefault
with that folder in your library you can access the following styles:
scrollTrackColor (sets the background color for the scrollbar)
highlightColor (sets the color of the buttons)
shadowColor (sets the “drop shadow” of the scrollbar items)
symbolColor (sets the color for the symbol in the buttons)
if you set
on the movieClip containing the dataGrid.
You should be good to go. With a custom fitted dataGrid.
Next round we do it with as3 instead.

