2 Replies Latest reply on Jul 1, 2011 8:56 AM by Kristin95762

    custom itemRenderer question - bold text

    Kristin95762 Level 1

      In my code:

       

      override public function set data(value:Object):void {

           super.data = value;

       

          

           if (value== null)

           return;

       

                subject.text = "Subject: " + value.subject;

                pageno.text = "Page number: " + value.pageNo;

      }

       

      How would I change the font property of "Subject: " and "Page number: " to a bold typeface? In other words, I wish to distinguish it from the values applied.

       

      Thanks

       

      Kristin