Extending Flash |
|
|
|
| Objects > Document object > document.setBlendMode() | |||
Flash 8.
document.setBlendMode(mode)
mode A string that represents the desired blending mode for the selected objects. Acceptable values are "normal", "layer", "multiply", "screen", "overlay", "hardlight", "lighten", "darken", "difference", "add", "subtract", "invert", "alpha", and "erase".
Nothing.
Method; sets the blending mode for the selected objects.
The following example sets the blending mode for the selected object to "add".
fl.getDocumentDOM().setBlendMode("add");
document.addFilter(), document.setFilterProperty(), symbolInstance.blendMode
|
|
|
|