User Guide

Document object 127
The following example sets the silent property to false, indicating that the document is
accessible:
fl.getDocumentDOM().silent = false;
document.skewSelection()
Availability
Flash MX 2004.
Usage
document.skewSelection( xSkew, ySkew [, whichEdge] )
Parameters
xSkew
A floating point number that specifies the amount of x by which to skew, measured in
degrees.
ySkew A floating point number that specifies the amount of y by which to skew, measured in
degrees.
whichEdge A string that specifies the edge where the transformation occurs; if omitted, skew
occurs at the transformation point. Valid values are:
"top center", "right center", "bottom
center"
, and "left center". This parameter is optional.
Returns
Nothing.
Description
Method; skews the selection by a specified amount. The effect is the same as using the Free
Transform tool to skew the object.
Example
The following examples skew the selected object by 2.0 vertically and 1.5 horizontally. The
second example transforms the object at the top center edge:
flash.getDocumentDOM().skewSelection(2.0, 1.5);
flash.getDocumentDOM().skewSelection(2.0, 1.5, "top center");
document.smoothSelection()
Availability
Flash MX 2004.
Usage
document.smoothSelection()
Parameters
None.