beautypg.com

Text.autoexpand, Text.border, Text.description – Adobe Extending Flash Professional CS5 User Manual

Page 460

background image

438

EXTENDING FLASH PROFESSIONAL

Text object

Last updated 5/2/2011

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.

This manual is related to the following products: