Description
Method; performs a matrix concatenation and returns the result.
Example
The following example stores the currently selected object in the
object matrix by the view matrix, and stores that value in the
var elt = fl.getDocumentDOM().selection[0];
var mat = fl.Math.concatMatrix( elt.matrix , fl.getDocumentDOM().viewMatrix
);
Math.invertMatrix()
Availability
Flash MX 2004.
Usage
Math.invertMatrix(mat)
Parameters
Indicates the Matrix object to invert (see
mat
fields:
,
,
,
,
, and
a
b
c
d
tx
Returns
A Matrix object that is the inverse of the original matrix.
Description
Method; returns the inverse of the specified matrix.
Example
The following example stores the currently selected object in the
matrix to the
variable, and stores the inverse of the matrix in the
mat
var elt = fl.getDocumentDOM().selection[0];
var mat = elt.matrix;
var inv = fl.Math.invertMatrix( mat );
328
Objects
.
ty
elt
variable:
mat
Matrix
object). It must have the following
elt
variable, multiplies the
variable, assigns that
variable:
inv
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?