MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 145

Extending flash
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents