
Document object
165
Example
The following example sets the
isSilent
variable to the value of the
silent
property:
var isSilent = fl.getDocumentDOM().silent;
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. Acceptable 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");
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...