310
Chapter 3: Objects
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.
Example
The following example retrieves the description of the object:
var theDescription =
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].descripti
on;
The following example sets the description of the object:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].description=
"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
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...