Math Object - MACROMEDIA FLASH 8-EXTENDING FLASH Manual

Extending flash
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
object 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
Specify the Matrix objects to be concatenated (see
mat1
mat2
parameter must be an object with fields
Returns
A concatenated object matrix.
CHAPTER 26
Description
Performs a matrix concatenation and returns the result.
Returns the inverse of the specified matrix.
Computes the distance between two points.
,
,
,
a
b
c
d
Matrix
,
, and
.
tx
ty
Objects
. This
fl.Math
object). Each
Math object
327

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents