document.setTransformationPoint()

Availability

Flash MX 2004.

Usage

document.setTransformationPoint( transformationPoint )

Parameters

transformationPoint A point (for example, {x:10, y:20}, where x and y are floating-point numbers) that specifies values for the transformation point of each of the following elements:

Returns

Nothing.

Description

Method; sets the position of the current selection's transformation point.

Example

The following example sets the transformation point of the current selection to 100, 200:

fl.getDocumentDOM().setTransformationPoint({x:100, y:200});

See also

document.getTransformationPoint(), element.setTransformationPoint()