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