Text.autoexpand; Text.border - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Description
Property; a string that is equivalent to the Name field in the Accessibility panel. Screen readers
identify objects by reading the name aloud. This property cannot be used with dynamic text.
Example
The following example retrieves the name of the object:
var theName =
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].accName;
The following example sets the name of the currently selected object:
fl.getDocumentDOM().selection[0].accName = "Home Button";

text.autoExpand

Availability
Flash MX 2004.
Usage
text.autoExpand
Description
Property; a Boolean value. For static text fields, a value of
expand to show all text. For dynamic or input text fields, a value of
width and height to expand to show all text.
Example
The following example sets the
fl.getDocumentDOM().selection[0].autoExpand = true;

text.border

Availability
Flash MX 2004.
Usage
text.border
Description
Property; a Boolean value. A value of
input text. This property generates a warning if used with static text.
Example
The following example sets the
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].border =
true;
property to a value of
autoExpand
causes Flash to show a border around dynamic or
true
property to a value of
border
causes the bounding width to
true
causes the bounding
true
:
true
:
true
Text object
309

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents