document.setAlignToDocument()
Availability
Flash MX 2004.
Usage
document.setAlignToDocument( bToStage )
Parameters
A Boolean value that, if set to
bToStage
does not.
Returns
Nothing.
Description
Method; sets the preferences for
document.match()
to enabling the To Stage button in the Align panel. See
Example
The following example enables the To Stage button in the Align panel to align objects with
the Stage:
fl.getDocumentDOM().setAlignToDocument(true);
document.setCustomFill()
Availability
Flash MX 2004.
Usage
document.setCustomFill( fill )
Parameters
Sets the
Fill
fill
Returns
Nothing.
Description
Method; sets the fill settings for the toolbar, Property inspector, and any selected shapes. This
allows a script to set the fill settings before drawing the object, rather than drawing the object,
selecting it, and changing the fill settings. It also lets a script change the toolbar and Property
inspector fill settings. See
document.align()
, and
document.space()
object.
document.getCustomFill()
, aligns objects to the Stage. If set to
true
,
document.distribute()
to act on the document. This method is equivalent
document.getAlignToDocument()
.
, it
false
,
.
Document object
115
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?
Questions and answers