API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class TransformMatrixPlugin

Package | com.greensock.plugins
Class | public class TransformMatrixPlugin
Inheritance | TransformMatrixPlugin TweenPlugin

TransformMatrixPlugin allows you to tween a DisplayObject's transform.matrix values directly (`a, b, c, d, tx, and ty`) or use common properties like `x, y, scaleX, scaleY, skewX, skewY, rotation` and even `shortRotation`. To skew without adjusting scale visually, use skewX2 and skewY2 instead of skewX and skewY.
transformMatrix tween will affect all of the DisplayObject's transform properties, so do not use it in conjunction with regular x/y/scaleX/scaleY/rotation tweens concurrently.
USAGE:
`import com.greensock.TweenLite;
import com.greensock.plugins.*;
TweenPlugin.activate([TransformMatrixPlugin]); //activation is permanent in the SWF, so this line only needs to be run once.
TweenLite.to(mc, 1, {transformMatrix:{x:50, y:300, scaleX:2, scaleY:2}});
//-OR-
TweenLite.to(mc, 1, {transformMatrix:{tx:50, ty:300, a:2, d:2}});
` Copyright 2011, GreenSock. All rights reserved. This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for corporate Club GreenSock members, the software agreement that was issued with the corporate membership.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | changeFactor : Number | TweenPlugin

Public Constants
Hide Inherited Public Constants
Show Inherited Public Constants

| Constant | Defined by
--- | --- | ---
|  | VERSION : Number = 1.4 [static] | TweenPlugin