It looks like you are trying to change the background color of the
label so that you have alternating colors, is that correct?
This won't work due to render recycling. Renderers are re-used. There
is not a single renderer for every item in your dataProvider.
CreationComplete complete only runs once.
You might try code like this on the dataChange event. Or using
updateComplete.
Or google it and discover the alternatingItemColors style:
http://blog.flexexamples.com/2007/08/17/alternating-row-colors-in-a-flex-list-control/Mic wrote:
--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert:
http://tinyurl.com/684b5hhttp://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104--
http://www.theflexshow.comhttp://www.jeffryhouser.com--
Part of the DotComIt Brain Trust