On a recent project I was working on, another team required a ratings bar so I thought I put something together. It works very much like a Flex 4
List, but all item renderers at an index below the
selectedIndex are selected. It also enables you to drag on the bar once you have click on it to change the rating given (mainly implemented for touch devices).
For ease of use there is also a
numRatings property that internally creates an
ArrayList with the correct length to be used as a
dataProvider for the component, although if required (i.e. you want custom labels etc to be shown) you can set you own
(right click for source).