
140
EXTENDING FLASH CS4 PROFESSIONAL
Document object
document.selectNone()
Availability
Flash MX 2004.
Usage
document.selectNone()
Parameters
None.
Returns
Nothing.
Description
Method; deselects any selected items.
Example
The following example deselects any items that are selected:
fl.getDocumentDOM().selectNone();
See also
document.selectAll(), document.selection
document.setAlignToDocument()
Availability
Flash MX 2004.
Usage
document.setAlignToDocument(bToStage)
Parameters
bToStage A Boolean value that, if set to true, aligns objects to the Stage. If set to false, it does not.
Returns
Nothing.
Description
Method; sets the preferences for document.align(), document.distribute(), document.match(), and
document.space() to act on the document. This method is equivalent to enabling the To Stage button in the Align
panel.
Example
The following example enables the To Stage button in the Align panel to align objects with the Stage:
Komentarze do niniejszej Instrukcji