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

The following methods are available for the Math object:

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.