Description
Method; stores specified data with the selected object(s). Data is written to the FLA file and is
available to JavaScript when the file reopens. Only symbols and bitmaps support persistent
data.
Example
The following example adds an integer value of 12 to the selected object:
fl.getDocumentDOM().addDataToSelection("myData", "integer", 12);
See also
document.removeDataFromSelection()
document.addFilter()
Availability
Flash 8.
Usage
document.addFilter( filterName )
Parameters
A string specifying the filter to be added to the Filter list and enabled for the
filterName
selected object(s). Acceptable values are
,
"blurFilter"
"dropShadowFilter"
"gradientGlowFilter"
Returns
Nothing.
Description
Method; applies a filter to the selected objects and places the filter at the end of the Filter list.
Example
The following example applies a glow filter to the selected object(s):
fl.getDocumentDOM().addFilter("glowFilter");
See also
document.changeFilterOrder()
document.enableFilter()
document.setBlendMode()
"adjustColorFilter", "bevelFilter"
,
"glowFilter"
.
,
document.disableFilter()
,
document.getFilters()
,
document.setFilterProperty()
,
"gradientBevelFilter"
,
,
document.removeFilter()
Document object
,
, and
,
71
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?