Document.description, Document.disableallfilters() – Adobe Extending Flash Professional CS5 User Manual
Page 111
89
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Description
Method; deletes the current selection on the Stage. Displays an error message if there is no selection.
Example
The following example deletes the current selection in the document:
fl.getDocumentDOM().deleteSelection();
document.description
Availability
Flash MX 2004.
Usage
document.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 sets the description of the document:
fl.getDocumentDOM().description= "This is the main movie";
The following example gets the description of the document and displays it in the Output panel:
fl.trace(fl.getDocumentDOM().description);
document.disableAllFilters()
Availability
Flash 8.
Usage
document.disableAllFilters()
Parameters
None.
Returns
Nothing.
Description
Method; disables all filters on the selected objects.