Using an ItemRenderer instance, on data change you can change the background
color style for the renderer using a method which would catch one of the 3
instances...
Brendan
On 16 Mar 2007 09:58:34 -0700, Greg Morphis <[EMAIL PROTECTED]> wrote:
I've got a List being populated by XML data.
One of the returned items is c_schedulestatusid which is either -1, 0, or
1
I need to set the backgroundColor based on the different values
c_schedulestatusid
I know about the
<mx:HBox width="100%" height="20"
backgroundColor="{data.c_schedulestatusid == 1 ? 0x00FF00 :
0xFF0000}">
However that wont work here because it's not either or, it's one of 3...
--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca