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.
•
Text:
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;
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...