Extending Flash |
|
|
|
| Objects > Text object > text.description | |||
Flash MX 2004.
text.description
Property; a string that is equivalent to the Description field in the Accessibility panel. The description is read by the screen reader.
The following example retrieves the description of the object:
var doc = fl.getDocumentDOM(); var desc = doc.getTimeline().layers[0].frames[0].elements[0].description;
The following example sets the description of the object:
var doc = fl.getDocumentDOM(); doc.getTimeline().layers[0].frames[0].elements[0].description= "Enter your name here";
|
|
|
|