4 Replies Latest reply on Mar 22, 2010 5:40 PM by mgk_3

    How do I set fontStyle to italic?


      I am new to Flex, and I am going through examples in the O'Reilly Programming Flex 3 book.  I am trying to display a button's label in italics, and the following approaches do not seem to work:



      <mx:Button id="button" label="Example" fontStyle="italic" />



      id.setStyle("fontStyle", "italic");


      How would I go about doing this?