User Guide

Document object 97
Description
Method; gets the location of the transformation point of the current selection. You can use the
transformation point for commutations such as rotate and skew. See
document.setTransformationPoint().
Example
The following example gets the transformation point for the current selection. The
transPoint.x property gives the x coordinate of the transformation point. The transPoint.y
property gives the y coordinate of the transformation point:
var transPoint = fl.getDocumentDOM().getTransformationPoint();
document.group()
Availability
Flash MX 2004.
Usage
document.group()
Parameters
None.
Returns
Nothing.
Description
Method; converts the current selection to a group. See document.unGroup().
Example
The following example converts the objects in the current selection to a group:
fl.getDocumentDOM().group();
document.height
Availability
Flash MX 2004.
Usage
document.height
Description
Property; an integer that specifies the height of the document (Stage) in pixels. See
document.width.