tx (Matrix.tx property)

public tx : Number

The distance by which to translate each point along the x axis. This represents the value in the first row and third column of the Matrix object.

Availability: ActionScript 1.0; Flash Player 8

Example

The following example creates the Matrix object myMatrix and sets its tx value.

import flash.geom.Matrix;

var myMatrix:Matrix = new Matrix();
trace(myMatrix.tx); // 0

myMatrix.tx = 50; // 50
trace(myMatrix.tx);

Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00001861.html