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 | |
---|---|---|---|
Animation | com.greensock.core | Base class for all TweenLite, TweenMax, TimelineLite, and TimelineMax classes, providing core methods/properties/functionality, but there is no reason to create an instance of this class directly. | |
Back | com.greensock.easing | Eases with an overshoot either at the beginning (easeIn), the end (easeOut), or both (easeInOut). | |
BezierPlugin | com.greensock.plugins | Animate virtually any property (or properties) along a Bezier (curved) path which you define as an array of points/values that can be interpreted 4 different ways (described as the Bezier's "type", like type:"quadratic"): "thru" (the default) - the plugin figures out how to draw the Bezier naturally through the supplied values using a proprietary algorithm. | |
Bounce | com.greensock.easing | Eases, bouncing either at the beginning (easeIn), the end (easeOut), or both (easeInOut). | |
Circ | com.greensock.easing | Eases with an abrupt change in velocity either at the beginning (easeIn), the end (easeOut), or both (easeInOut). | |
ColorPropsPlugin | com.greensock.plugins | Tweens any color-related property of any object, like myObject.borderColor from "rgb(255,0,51)" to "rgb(102,204,0)" (and you can define the initial color in almost any format like "#FF00CC" or "rgba(255,0,51,0.5)" or "red" or "#f0c" or 0xFF00CC). | |
CSSPlugin | com.greensock.plugins | With the help of the CSSPlugin, GSAP can animate almost any css-related property of DOM elements including the obvious things like width, height, margins, padding, top, left, and more plus more interesting things like transforms (rotation, scaleX, scaleY, skewX, skewY, x, y, rotationX, and rotationY), colors, opacity, and lots more. | |
CSSRulePlugin | com.greensock.plugins | Allows TweenLite and TweenMax to animate the raw style sheet rules which affect all objects of a particular selector rather than affecting an individual DOM element's style (that's what the CSSPlugin is for). | |
Cubic | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 2 which is identical to the Power2 ease. | |
Ease | com.greensock.easing | Base class for all GreenSock easing equations. | |
EaseLookup | com.greensock.easing | EaseLookup enables you to find the easing function associated with a particular name (String), like "strongEaseOut" which can be useful when loading in XML data that comes in as Strings but needs to be translated to native function references. | |
EaselPlugin | com.greensock.plugins | Tweens special EaselJS-related properties like ColorFilter (see http://www.createjs.com/#!/EaselJS for more information about EaselJS). | |
Elastic | com.greensock.easing | Eases with an elastic effect either at the beginning (easeIn), the end (easeOut), or both (easeInOut). | |
Expo | com.greensock.easing | Eases in a strong fashion either at the beginning (easeIn), the end (easeOut), or both (easeInOut). | |
Linear | com.greensock.easing | Linear ease with no acceleration or deceleration. | |
Power0 | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 0 which is identical to Linear but with a more intuitive name. | |
Power1 | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 1 which is identical to Quad but with a more intuitive name. | |
Power2 | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 2 which is identical to Cubic but with a more intuitive name. | |
Power3 | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 3 which is identical to Quart but with a more intuitive name. | |
Power4 | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 4 which is identical to Quint and Strong but with a more intuitive name. | |
Quad | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 1 which is identical to the Power1 ease. | |
Quart | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 2 which is identical to the Power2 ease. | |
Quint | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 4 which is identical to the Power4 ease. | |
RaphaelPlugin | com.greensock.plugins | Enables TweenLite and TweenMax to animate properties of Raphael JavaScript objects (see http://www.raphaeljs.com/). | |
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. | |
ScrollToPlugin | com.greensock.plugins | Allows TweenLite and TweenMax to animate the scroll position of either the window (like doing window.scrollTo(x, y)) or a <div> DOM element's content (like doing myDiv.scrollTop = y; myDiv.scrollLeft = x;). | |
SimpleTimeline | com.greensock.core | SimpleTimeline is the base class for TimelineLite and TimelineMax, providing the most basic timeline functionality and it is used for the root timelines in TweenLite but is only intended for internal use in the GreenSock tweening platform. | |
Sine | com.greensock.easing | Eases with a relatively low power either at the beginning (easeIn), the end (easeOut), or both (easeInOut). | |
SlowMo | com.greensock.easing | SlowMo is a configurable ease that produces a slow-motion effect that decelerates initially, then moves linearly for a certain portion of the ease (which you can choose) and then accelerates again at the end; it's great for effects like zooming text onto the screen, smoothly moving it long enough for people to read it, and then zooming it off the screen. | |
SteppedEase | com.greensock.easing | Most easing equations give a smooth, gradual transition between the start and end values, but SteppedEase provides an easy way to define a specific number of steps that the transition should take. | |
Strong | com.greensock.easing | Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 4 which is identical to the Power4 ease. | |
TimelineLite | com.greensock | TimelineLite is a powerful sequencing tool that acts as a container for tweens and other timelines, making it simple to control them as a whole and precisely manage their timing. | |
TimelineMax | com.greensock | TimelineMax extends TimelineLite, offering exactly the same functionality plus useful (but non-essential) features like repeat, repeatDelay, yoyo, currentLabel(), addCallback(), removeCallback(), tweenTo(), tweenFromTo(), getLabelAfter(), getLabelBefore(), getActive() (and probably more in the future). | |
TweenLite | com.greensock | TweenLite is an extremely fast, lightweight, and flexible animation tool that serves as the foundation of the GreenSock Animation Platform (GSAP), available in AS2, AS3, and JavaScript. | |
TweenMax | com.greensock | TweenMax extends TweenLite, adding many useful (but non-essential) features like timeScale(), repeat(), repeatDelay(), yoyo(), updateTo(), and more. | |
TweenPlugin | com.greensock.plugins | TweenPlugin is the base class for all TweenLite and TweenMax plugins, but generally isn't used directly. |