
159
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
document.silent
Availability
Flash MX 2004.
Usage
document.silent
Description
Property; a Boolean value that specifies whether the object is accessible. This is equivalent to the inverse logic of the
Make Movie Accessible setting in the Accessibility panel. That is, if
document.silent is true, it is the same as the
Make Movie Accessible option being unchecked. If it is
false, it is the same as the Make Movie Accessible option
being checked.
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.
Komentáře k této Příručce