Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 435 Bytes

File metadata and controls

22 lines (12 loc) · 435 Bytes

textAttrs.face

Availability

Flash MX 2004.

Usage

textAttrs.face

Description

Property; a string that represents the name of the font, such as "Arial".

Example

The following example sets the font of the selected text field from the character at index 2 up to, but not including, the character at index 8 to Arial:

fl.getDocumentDOM().selection[0].setTextAttr("face", "Arial", 2, 8);