Extending Flash |
|
|
|
| Objects > Screen object > screen.accName | |||
Flash MX 2004.
screen.accName
Property; a string that is equivalent to the Name field in the Accessibility panel. Screen readers identify objects by reading the name aloud.
The following example stores the value of the name of the object in the theName variable:
var theName = fl.getDocumentDOM().screenOutline.screens[1].accName;
The following example sets the name of the object to "Home Button":
fl.getDocumentDOM().screenOutline.screens[1].accName = 'Home Button';
|
|
|
|