User Guide

766 ActionScript classes
Methods inherited from class Object
a (Matrix.a property)
public a : Number
The value in the first row and first column of the Matrix object, which affects the positioning
of pixels along the x axis when scaling or rotating an image.
Availability: ActionScript 1.0; Flash Player 8
Example
The following example creates the Matrix object
myMatrix and sets its a value.
import flash.geom.Matrix;
var myMatrix:Matrix = new Matrix();
trace(myMatrix.a); // 1
myMatrix.a = 2;
trace(myMatrix.a); // 2
b (Matrix.b property)
public b : Number
The value in the first row and second column of the Matrix object, which affects the
positioning of pixels along the y axis when rotating or skewing an image.
toString() : String Returns a text value listing the properties of the Matrix
object.
transformPoint(pt:Po
int) : Point
Applies the geometric transformation represented by
the Matrix object to the specified point.
translate(tx:Number,
ty:Number) : Void
Modifies a Matrix object so that the effect of its
transformation is to move an object along the x and y
axes.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)
Modifiers Signature Description