Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Matrix (flash.geom.Matrix) > toString (Matrix.toString method) | |||
public toString() : String
Returns a text value listing the properties of the Matrix object.
Availability: ActionScript 1.0; Flash Player 8
String - A string containing the values of the properties of the Matrix object: a, b, c, d, tx, and ty.
The following example creates myMatrix and converts its values to a string in the format of (a=A, b=B, c=C, d=D, tx=TX, ty=TY).
import flash.geom.Matrix;
var myMatrix:Matrix = new Matrix();
trace("myMatrix: " + myMatrix.toString()); // (a=1, b=0, c=0, d=1, tx=0, ty=0)
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/00001858.html