![MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual Download Page 232](http://html1.mh-extra.com/html/macromedia/flash-mx-2004-flash-javascript-dictionary/flash-mx-2004-flash-javascript-dictionary_manual_3377988232.webp)
232
Chapter 3: Objects
Example
See the
matrix.b
example.
matrix.d
Availability
Flash MX 2004.
Usage
matrix.d
Description
Property; a floating-point value that specifies the (1,1) element in the matrix. This value
represents the scale factor of the object’s
y
-axis.
Example
See
matrix.a
.
matrix.tx
Availability
Flash MX 2004.
Usage
matrix.tx
Description
Property; a floating-point value that specifies the
x
-axis location of a symbol’s registration point or
the center of a shape. It defines the
x
translation of the transformation.
You can move an object by setting the
matrix.tx
and
matrix.ty
properties.
Example
In the following example, setting
tx
and
ty
to 0 moves the registration point of the object to
point 0,0 in the document:
var mat = fl.getDocumentDOM().selection[0].matrix;
mat.tx = 0;
mat.ty = 0;
fl.getDocumentDOM().selection[0].matrix = mat;
matrix.ty
Availability
Flash MX 2004.
Usage
matrix.ty
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 ...