Example
The following example enables the To Stage button in the Align panel to align objects with
the Stage:
fl.getDocumentDOM().setAlignToDocument(true);
See also
document.getAlignToDocument()
document.setBlendMode()
Availability
Flash 8.
Usage
document.setBlendMode( mode )
Parameters
A string that represents the desired blend mode for the selected objects. Acceptable
mode
values are
,
"normal"
,
"lighten"
"darken"
"erase".
Returns
Nothing.
Description
Method; sets the blend mode for the selected objects.
Example
The following example sets the blend mode for the selected object to
fl.getDocumentDOM().setBlendMode("add");
See also
document.addFilter()
,
"layer"
"multiply"
,
,
"difference"
"add"
,
document.setFilterProperty()
, "
,
screen"
"overlay"
,
,
"subtract"
"invert"
,
symbolInstance.blendMode
,
,
"hardlight"
,
, and
"alpha"
.
"add"
Document object
145
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers