A (Matrix.a Property); B (Matrix.b Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

Modifiers
Signature
toString() : String
transformPoint(pt:Po
int) : Point
translate(tx:Number,
ty:Number) : Void
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

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
import flash.geom.Matrix;
var myMatrix:Matrix = new Matrix();
trace(myMatrix.a); // 1
myMatrix.a = 2;
trace(myMatrix.a); // 2

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.
766
ActionScript classes
Description
Returns a text value listing the properties of the Matrix
object.
Applies the geometric transformation represented by
the Matrix object to the specified point.
Modifies a Matrix object so that the effect of its
transformation is to move an object along the x and y
axes.
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
and sets its
myMatrix
valueOf
value.
a

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF