Document object
119
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();
See also
document.setTransformationPoint()
document.group()
Availability
Flash MX 2004.
Usage
document.group()
Parameters
None.
Returns
Nothing.
Description
Method; converts the current selection to a group.
Example
The following example converts the objects in the current selection to a group:
fl.getDocumentDOM().group();
See also
document.unGroup()
document.height
Availability
Flash MX 2004.
Usage
document.height
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...