-1) { this.text = LookupVO(model.config.statusList[i]).label; } else { this.text = ""; } } override public function get data(): Object { return _data; } override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); if(owner is mx.controls.DataGrid && mx.controls.DataGrid(owner).isItemSelected(data)) { //figure out if this itemRenderer is selected setStyle('color', 0xFFFFFF); // FIXME: anyway to discover this value from the theme? } else { //otherwise, return the label to its regular state setStyle('color', 0x000000); // FIXME: anyway to discover this value from the theme? } } ]]>