FMXISBar

Availability

Flash Player 6 r65.

Description

This class implements a simple, digital bar plot, displaying chips that are equally valued from a set minimum value to a maximum value. This component is distributed as a compiled clip (SWC) rather than an FLA, but the external AS file is installed in the Classes directory for your inspection. Unlike most of the other components in this set, it does not let you change the chip graphic.

You can control the number of chips between the set values, the pixel spacing between chips, and the colors of the chips along the range. You set color chips by providing a list of colors (hex values, 0xRRGGBB) to the property, and also supplying a list of values (Bar Color Range) that determines when the colors are applied.

For example, if you have a bar with minimum value 0 and maximum 100, and set your list of colors to be [0xFF0000, 0x00FF00] (which are red and green), and your range to be [30, 100], then all chips between 0 and 30 will be red, and above that green.

FMXISBar inherits from FMXISBase for compatibility, but it does not generate any events.