Extending Flash |
|
|
|
| Objects > Screen object > screen.description | |||
Flash MX 2004.
screen.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 gets the description of the object and stores it in the theDescription variable:
var theDescription = fl.getDocumentDOM().screenOutline.screens[1].description;
The following example sets the description of the object to "This is Screen 1":
fl.getDocumentDOM().screenOutline.screens[1].description = "This is Screen 1"
|
|
|
|