I'm trying to use styleName in a renderer like so

 

.payor1{

      fillAlphas: 1.0, 1.0;

      fillColors: #8c8c8c, #8c8c8c;

      color: red;

      roll-over-color: green;

      rollOverColor: green;

}

 

With this code in the DataGridItemRenderer.  Color is set OK, but I
cannot get the rollover.  If I have the wrong property name, where would
I find the definition of the right ones.  

 

      override public function validateNow():void     {

            super.validateNow();

            if (data==null || data.resident__id=="0")             {

                  background = false;

                  this.text = null;

                  this.styleName="";

                  return;

            }else{

                  this.text=""+data.name;

                  this.styleName = "payor"+data.payor;

                   background = true;

            }

      }

 

Reply via email to