Text object
441
Description
Property; a string that is equivalent to the Description field in the Accessibility panel. The
description is read by the screen reader.
Example
The following example retrieves the description of the object:
var theDescription =
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].descri
ption;
The following example sets the description of the object:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].descripti
on= "Enter your name here";
text.embeddedCharacters
Availability
Flash MX 2004.
Usage
text.embeddedCharacters
Description
Property; a string that specifies characters to embed. This is equivalent to entering text in the
Character Options dialog box.
This property works only with dynamic or input text; it generates a warning if used with other
text types.
Example
The following example sets the
embeddedCharacters
property to
"abc"
:
fl.getDocumentDOM().selection[0].embeddedCharacters = "abc";
text.embedRanges
Availability
Flash MX 2004.
Usage
text.embedRanges
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...