ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > Matrix (flash.geom.Matrix) > 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
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);
|
|
|
|