Coloured backgrounds within a Combo Box

Hi everyone,

I’ve successfully created a class which extends List to create a List with different coloured backgrounds depending on a colour property of the ArrayCollection used as a dataProvider. Technique is described here:

http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/

I’m now trying to do the same thing in a ComboBox. I know it’s possible with either a classFactory or extending the ComboBox but I really can’t work out how - there is so little information on things like the classFactory around.

Could anyone point me in the right direction?

thanks,

Kenneth