Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Matrix (flash.geom.Matrix) > 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.
Availability: ActionScript 1.0; Flash Player 8
The following example creates the Matrix object myMatrix and sets its b value.
import flash.geom.Matrix; var myMatrix:Matrix = new Matrix(); trace(myMatrix.b); // 0 var degrees:Number = 30; var radians:Number = (degrees/180) * Math.PI; myMatrix.b = Math.tan(radians); trace(myMatrix.b); // 0.577350269189626
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/00001845.html