F > FStyleFormat.scrollTrack

 

FStyleFormat.scrollTrack

Availability

Flash Player 6.

Usage

myStyleFormat.scrollTrack 

Description

Property; the RGB color value for the track portion of a scroll bar. The ScrollBar component is used by the ScrollPane, ListBox, and ComboBox components, and changing the value of the scrollTrack property in the global style format changes the color of the scroll track in all components that use scroll bars. The color value must be in the format 0xRRGGBB.

You must use FStyleFormat.applyChanges when updating properties with a new value.

Example

The following code assigns a value of 0xA0522D to the scrollTrack property in formStyleFormat, producing a maroon scroll track.

formStyleFormat.scrollTrack = 0xA0522D;