EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Page 765

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Matrix (flash.geom.Matrix) 765
Constructor summary
Method summary
Signature Description
Matrix([a:Number],
[b:Number],
[c:Number],
[d:Number],
[tx:Number],
[ty:Number])
Creates a new Matrix object with the specified parameters.
Modifiers Signature Description
clone() : Matrix Returns a new Matrix object that is a clone of this
matrix, with an exact copy of the contained object.
concat(m:Matrix) :
Void
Concatenates a matrix with the current matrix,
effectively combining the geometric effects of the two.
createBox(scaleX:Num
ber, scaleY:Number,
[rotation:Number],
[tx:Number],
[ty:Number]) : Void
Includes parameters for scaling, rotation, and
translation.
createGradientBox(wi
dth:Number,
height:Number,
[rotation:Number],
[tx:Number],
[ty:Number]) : Void
Creates the specific style of matrix expected by the
MovieClip.beginGradientFill() method.
deltaTransformPoint(
pt:Point) : Point
Given a point in the pretransform coordinate space,
returns the coordinates of that point after the
transformation occurs.
identity() : Void Sets each matrix property to a value that cause a
transformed movie clip or geometric construct to be
identical to the original.
invert() : Void Performs the opposite transformation of the original
matrix.
rotate(angle:Number)
: Void
Sets the values in the current matrix so that the matrix
can be used to apply a rotation transformation.
scale(sx:Number,
sy:Number) : Void
Modifies a matrix so that its effect, when applied, is to
resize an image.

Table of Contents

Related product manuals