Extending Flash |
|
|
|
| Objects > TextAttrs object > textAttrs.face | |||
Flash MX 2004.
textAttrs.face
Property; a string that represents the name of the font, such as "Arial".
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);
|
|
|
|