Documentation for classes includes syntax, usage information, and code samples for methods, properties, and event handlers and listeners for those APIs that belong to a specific class in ActionScript. The classes are listed alphabetically. If you are not sure to which class a certain method or property belongs, you can look it up in the Index.
Class | Package | Description | |
---|---|---|---|
AutoAlphaPlugin
| com.greensock.plugins | Tweening "autoAlpha" is exactly the same as tweening an object's "alpha" except that it ensures that the object's "visible" property is true until autoAlpha reaches zero at which point it will toggle the "visible" property to false. | |
BevelFilterPlugin
| com.greensock.plugins | Tweens a BevelFilter. | |
BezierPlugin
| com.greensock.plugins | Bezier tweening allows you to tween in a non-linear way. | |
BezierThroughPlugin
| com.greensock.plugins | Identical to bezier except that instead of defining bezier control point values, you define points through which the bezier values should move. | |
BlurFilterPlugin
| com.greensock.plugins | Tweens a BlurFilter. | |
ColorMatrixFilterPlugin
| com.greensock.plugins | ColorMatrixFilter tweening offers an easy way to tween a DisplayObject's saturation, hue, contrast, brightness, and colorization. | |
ColorTransformPlugin
| com.greensock.plugins | Ever wanted to tween ColorTransform properties of a DisplayObject to do advanced effects like overexposing, altering the brightness or setting the percent/amount of tint? Or maybe tween individual ColorTransform properties like redMultiplier, redOffset, blueMultiplier, blueOffset, etc. | |
DropShadowFilterPlugin
| com.greensock.plugins | Tweens a DropShadowFilter. | |
DynamicPropsPlugin
| com.greensock.plugins | If you'd like to tween something to a destination value that may change at any time, DynamicPropsPlugin allows you to simply associate a function with a property so that every time the tween is updated, it calls that function to get the new destination value for the associated property. | |
EndArrayPlugin
| com.greensock.plugins | Tweens numbers in an Array. | |
FilterPlugin
| com.greensock.plugins | Base class for all filter plugins (like blurFilter, colorMatrixFilter, glowFilter, etc.). | |
FrameLabelPlugin
| com.greensock.plugins | Tweens a MovieClip to a particular frame label. | |
FramePlugin
| com.greensock.plugins | Tweens a MovieClip to a particular frame number. | |
GlowFilterPlugin
| com.greensock.plugins | Tweens a GlowFilter. | |
HexColorsPlugin
| com.greensock.plugins | Although hex colors are technically numbers, if you try to tween them conventionally, you'll notice that they don't tween smoothly. | |
MotionBlurPlugin
| com.greensock.plugins | MotionBlurPlugin provides an easy way to apply a directional blur to a DisplayObject based on its velocity and angle of movement in 2D (x/y). | |
OverwriteManager
| com.greensock | OverwriteManager resolves conflicts between tweens and controls if (and how) existing tweens of the same target are overwritten. | |
Physics2DPlugin
| com.greensock.plugins | Provides simple physics functionality for tweening a DisplayObject's x and y coordinates based on a combination of velocity, angle, gravity, acceleration, accelerationAngle, and/or friction. | |
PhysicsPropsPlugin
| com.greensock.plugins | Sometimes you want to tween a property (or several) but you don't have a specific end value in mind - instead, you'd rather describe the movement in terms of physics concepts, like velocity, acceleration, and/or friction. | |
PropTween
| com.greensock.core | Stores information about an individual property tween. | |
QuaternionsPlugin
| com.greensock.plugins | Performs SLERP interpolation between 2 Quaternions. | |
RemoveTintPlugin
| com.greensock.plugins | Removes the tint of a DisplayObject over time. | |
RoundPropsPlugin
| com.greensock.plugins | If you'd like the inbetween values in a tween to always get rounded to the nearest integer, use the roundProps special property. | |
ScalePlugin
| com.greensock.plugins | ScalePlugin combines scaleX and scaleY into one "scale" property. | |
ScrollRectPlugin
| com.greensock.plugins | Tweens the scrollRect property of a DisplayObject. | |
SetActualSizePlugin
| com.greensock.plugins | Some components require resizing with setActualSize() instead of standard tweens of width/height in order to scale properly. | |
SetSizePlugin
| com.greensock.plugins | Some components require resizing with setSize() instead of standard tweens of width/height in order to scale properly. | |
ShortRotationPlugin
| com.greensock.plugins |
To tween any rotation property of the target object in the shortest direction, use "shortRotation"
For example, if myObject.rotation is currently 170 degrees and you want to tween it to -170 degrees,
a normal rotation tween would travel a total of 340 degrees in the counter-clockwise direction,
but if you use shortRotation, it would travel 20 degrees in the clockwise direction instead. |
|
SimpleTimeline
| com.greensock.core | SimpleTimeline is the base class for the TimelineLite and TimelineMax classes. | |
TimelineLite
| com.greensock | TimelineLite is a lightweight, intuitive timeline class for building and managing sequences of TweenLite, TweenMax, TimelineLite, and/or TimelineMax instances. | |
TimelineMax
| com.greensock | TimelineMax extends TimelineLite, offering exactly the same functionality plus useful (but non-essential) features like AS3 event dispatching, repeat, repeatDelay, yoyo, currentLabel, addCallback(), removeCallback(), tweenTo(), getLabelAfter(), getLabelBefore(), and getActive() (and probably more in the future). | |
TintPlugin
| com.greensock.plugins |
To change a DisplayObject's tint/color, set this to the hex value of the tint you'd like
to end up at (or begin at if you're using TweenMax.from() ). |
|
TransformAroundCenterPlugin
| com.greensock.plugins | Normally, all transformations (scale, rotation, and position) are based on the DisplayObject's registration point (most often its upper left corner), but TransformAroundCenter allows you to make the transformations occur around the DisplayObject's center. | |
TransformAroundPointPlugin
| com.greensock.plugins | Normally, all transformations (scale, rotation, and position) are based on the DisplayObject's registration point (most often its upper left corner), but TransformAroundPoint allows you to define ANY point around which transformations will occur during the tween. | |
TransformMatrixPlugin
| com.greensock.plugins |
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, and rotation . |
|
TweenCore
| com.greensock.core | TweenCore is the base class for all TweenLite, TweenMax, TimelineLite, and TimelineMax classes and provides core functionality and properties. | |
TweenEvent
| com.greensock.events | Used for dispatching events from the GreenSock Tweening Platform. | |
TweenLite
| com.greensock | TweenLite is an extremely fast, lightweight, and flexible tweening engine that serves as the foundation of the GreenSock Tweening Platform. | |
TweenMax
| com.greensock | TweenMax extends the extremely lightweight, fast TweenLite engine, adding many useful features like timeScale, event dispatching, setDestination(), yoyo, repeat, repeatDelay, rounding, and more. | |
TweenNano
| com.greensock | TweenNano is a super-lightweight (1.6k in AS3 and 2k in AS2) version of TweenLite and is only recommended for situations where you absolutely cannot afford the extra 3.1k (4.7k total) that the normal TweenLite engine would cost and your project doesn't require any plugins. | |
TweenPlugin
| com.greensock.plugins | TweenPlugin is the base class for all TweenLite/TweenMax plugins. | |
VisiblePlugin
| com.greensock.plugins | Toggles the visibility at the end of a tween. | |
VolumePlugin
| com.greensock.plugins | Tweens the volume of an object with a soundTransform property (MovieClip/SoundChannel/NetStream, etc.). |