User Guide
126 Chapter 3: Objects
Parameters
transformationPoint
A pair of floating point numbers that specifies values for each of the
following elements:
• Shapes: transformationPoint is set relative to document. 0,0 is the same as the Stage (upper
left corner).
• Symbols: transformationPoint is set relative to the symbol’s registration point. 0,0 is located
at the registration point.
• Te xt : transformationPoint is set relative to the text field. 0,0 is the upper left corner of
text field.
• Bitmaps/videos: transformationPoint is set relative to bitmap/video. 0,0 is the upper left
corner of the bitmap or video.
• Groups: transformationPoint is set relative to document. 0,0 is the same as the Stage (upper
left corner)
Returns
Nothing.
Description
Method; moves the transformation point of the current selection. See
document.getTransformationPoint().
Example
The following example sets the transformation point of the current selection to 100, 200:
fl.getDocumentDOM().setTransformationPoint({x:100, y:200});
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;