Description
Method; identical to retrieving the value of the To Stage button in the Align panel. Gets the
preference that can be used for
, and
document.match()
Example
The following example retrieves the value of the To Stage button in the Align panel. If the
return value is
, the To Stage button is active; otherwise, it is not.
true
var isAlignToDoc = fl.getDocumentDOM().getAlignToDocument();
fl.getDocumentDOM().align("left", isAlignToDoc);
See also
document.setAlignToDocument()
document.getBlendMode()
Availability
Flash 8.
Usage
document.getBlendMode()
Parameters
None.
Returns
A string that specifies the blend mode for the selected object(s). If more than one object is
selected and they have different blend modes, the string reflects the blend mode of the object
with the highest depth.
The return value is unpredictable if the selection contains objects that don't support
blend modes, or that have a blend mode value of "
Description
Method; returns a string that specifies the blend mode for the selected object(s).
Example
The following example displays the name of the blend mode in the Output panel:
fl.trace(fl.getDocumentDom().getBlendMode());
document.align()
methods on the document.
document.space()
,
document.distribute()
".
normal
Document object
,
109
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?