Text.autoexpand, Text.border, Text.description – Adobe Extending Flash Professional CS4 User Manual
Page 461
439
EXTENDING FLASH CS4 PROFESSIONAL
Text object
text.autoExpand
Availability
Flash MX 2004.
Usage
text.autoExpand
Description
Property; a Boolean value. For static text fields, a value of
true
causes the bounding width to expand to show all text.
For dynamic or input text fields, a value of
true
causes the bounding width and height to expand to show all text.
Example
The following example sets the
autoExpand
property to a value of
true
:
fl.getDocumentDOM().selection[0].autoExpand = true;
text.border
Availability
Flash MX 2004.
Usage
text.border
Description
Property; a Boolean value. A value of
true
causes Flash to show a border around text.
Example
The following example sets the
border
property to a value of
true
:
fl.getDocumentDOM().selection[0].border = true;
text.description
Availability
Flash MX 2004.
Usage
text.description
Description
Property; a string that is equivalent to the Description field in the Accessibility panel. The description is read by the
screen reader.