You need to use an itemRenderer - this is a class which will
have its data property set for each record. In your itemRenderer
class, override the updateDisplay function and look at the data
property to determine what color to make the background.
You can use the Flash drawing API to make a simple colored