Change textcolor/style at specified row at List component?

Hi, I’m trying so change the textcolor at specified row in the List component.
I use list.itemToCellRenderer(list.getItemAt(i)) to get access the List cell, but the problem is why the CellRenderer object that below scrolling display is return null?
I’ve already put list.drawNow() , if i’m not include it , the outcome is worse … it trace all *null
Must I put list.drawNow() eachtime the List is changing? *not a proper way i think
So , how’s to access each cell List properly?

Help anyone?
Thx.


import fl.controls.List;
import fl.controls.listClasses.CellRenderer;

var i:int;
var max:int=10;
list.rowCount = 5;
list.selectedIndex=7;

for(i=0;i<max;i++)
{
    list.addItemAt({label:"user"+String(i), data:i}, i);
}
list.drawNow();
for(i=0;i<max;i++)
{
    var cr:CellRenderer = new CellRenderer();
    cr=list.itemToCellRenderer(list.getItemAt(i)) as CellRenderer;
    trace(cr);    
}

output :


[object CellRenderer]
[object CellRenderer]
[object CellRenderer]
[object CellRenderer]
[object CellRenderer]
[object CellRenderer]
null
null
null
null