Packagecom.greensock.easing
Classpublic final class Elastic
InheritanceElastic Inheritance Object

Eases with an elastic effect either at the beginning (easeIn), the end (easeOut), or both (easeInOut). Elastic is a convenience class that congregates the 3 types of Elastic eases (ElasticIn, ElasticOut, and ElasticInOut) as static properties so that they can be referenced using the standard synatax, like Elastic.easeIn, Elastic.easeOut, and Elastic.easeInOut.

You can configure the amplitude and period of the sine wave using the config() method, like TweenLite.to(obj, 1, {x:100, ease:Elastic.easeOut.config(0.5, 2)});

Copyright 2013, GreenSock. All rights reserved. This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for Club GreenSock members, the software agreement that was issued with the membership.



Public Properties
 PropertyDefined By
  easeIn : ElasticIn
[static] Eases using a sine wave that starts slowly and then accelerates over time
Elastic
  easeInOut : ElasticInOut
[static] Eases using a sine wave that starts slowly, then accelerates and then decelerates over time.
Elastic
  easeOut : ElasticOut
[static] Eases using a sine wave that starts fast and then decelerates over time.
Elastic
Property Detail
easeInproperty
public static var easeIn:ElasticIn

Eases using a sine wave that starts slowly and then accelerates over time

easeInOutproperty 
public static var easeInOut:ElasticInOut

Eases using a sine wave that starts slowly, then accelerates and then decelerates over time.

easeOutproperty 
public static var easeOut:ElasticOut

Eases using a sine wave that starts fast and then decelerates over time.