Matrix object

Availability

Flash MX 2004.

Description

The Matrix object represents a transformation matrix.

Property summary

The following properties are available for the Matrix object:

Property

Description

matrix.a

A floating-point value that specifies the (0,0) element in the transformation matrix.

matrix.b

A floating-point value that specifies the (0,1) element in the matrix.

matrix.c

A floating-point value that specifies the (1,0) element in the matrix.

matrix.d

A floating-point value that specifies the (1,1) element in the matrix.

matrix.tx

A floating-point value that specifies the x-axis location of a symbol’s registration point or the center of a shape.

matrix.ty

A floating-point value that specifies the y-axis location of a symbol’s registration point or the center of a shape.