textAttrs.italic

Availability

Flash MX 2004.

Usage

textAttrs.italic

Description

Property; a Boolean value. A value of true causes text to appear with the italic version of the font.

Example

The following example sets the selected text field to italic:

fl.getDocumentDOM().selection[0].setTextAttr("italic", true);