Extending Flash |
|
|
|
| Objects > TextAttrs object > textAttrs.rotation | |||
Flash MX 2004.
textAttrs.rotation
Property; a Boolean value. A value of true causes Flash to rotate the characters of the text 90º. The default value is false. This property applies only to static text with a vertical orientation; it generates a warning if used with other text types.
The following example sets the rotation of the selected text field to true:
fl.getDocumentDOM().setElementTextAttr("rotation", true);
|
|
|
|