MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 165

Extending flash
Table of Contents

Advertisement

Example
The following example sets the
var isSilent = fl.getDocumentDOM().silent;
The following example sets the
accessible:
fl.getDocumentDOM().silent = false;
document.skewSelection()
Availability
Flash MX 2004.
Usage
document.skewSelection( xSkew, ySkew [, whichEdge] )
Parameters
A floating-point number that specifies the amount of
xSkew
in degrees.
A floating-point number that specifies the amount of
ySkew
in degrees.
A string that specifies the edge where the transformation occurs; if omitted,
whichEdge
skew occurs at the transformation point. Acceptable values are
,
center"
"bottom center"
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");
variable to the value of the
isSilent
property to
silent
, and
"left center"
silent
, indicating that the document is
false
by which to skew, measured
x
by which to skew, measured
y
"top center"
. This parameter is optional.
property:
,
"right
Document object
165

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents