Math object
327
Math object
Availability
Flash MX 2004.
Description
The Math object is available as a read-only property of the flash object; see
fl.Math
. This
object provides methods that perform common mathematical operations.
Method summary for the Math object
The following methods are available for the Math object:
Math.concatMatrix()
Availability
Flash MX 2004.
Usage
Math.concatMatrix(
mat1
,
mat2
)
Parameters
mat1
and
mat2
Specify the Matrix objects to be concatenated (see
Matrix object
). Each
parameter must be an object with fields
a
,
b
,
c
,
d
,
tx
, and
ty
.
Returns
A concatenated object matrix.
Method
Description
Math.concatMatrix()
Performs a matrix concatenation and returns the result.
Math.invertMatrix()
Returns the inverse of the specified matrix.
Math.pointDistance()
Computes the distance between two points.
CHAPTER 26
Objects
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...