Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 928 Bytes

File metadata and controls

58 lines (34 loc) · 928 Bytes

Math.concatMatrix()

Availability

Flash MX 2004.

Usage

Math.concatMatrix(mat1, mat2)

Parameters

mat1

Type

Matrix

Description

The Matrix object to be concatenated (see Matrix object).

mat2

Type

Matrix

Description

The Matrix object to be concatenated (see Matrix object).

Returns

A concatenated Matrix object.

Type

Matrix

Description

Method; Performs a matrix concatenation and returns the result.

Example

The following example stores the currently selected object in the elt variable, multiplies the object matrix by the view matrix, and stores that value in the mat variable:

var elt = fl.getDocumentDOM().selection[0];
var mat = fl.Math.concatMatrix(elt.matrix , fl.getDocumentDOM().viewMatrix);