Math Object; Math.concatmatrix() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Math object

Availability
Flash MX 2004.
Description
The Math object is available as a read-only property of the flash object; see
provides methods that perform common mathematical operations.
Method summary for the Math object
The following methods are available for the Math object:
Method

Math.concatMatrix()

Math.invertMatrix()
Math.pointDistance()
Math.concatMatrix()
Availability
Flash MX 2004.
Usage
Math.concatMatrix(mat1, mat2)
Parameters
and
mat1
mat2
parameter must be an object with fields
Returns
A concatenated object matrix.
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 );
228
Chapter 3: Objects
Description
Performs a matrix concatenation and returns the result.
Returns the inverse of the specified matrix.
Computes the distance between two points.
Specify the Matrix objects to be concatenated (see
,
,
,
,
, and
.
a
b
c
d
tx
ty
mat
CHAPTER 3
. This object
fl.Math
Matrix
object). Each
variable, multiplies the
elt
variable:
Objects

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents