Package | com.boostworthy.animation.easing |
Class | public final class Transitions |
A special thanks goes out to Robert Penner who came up with most of these equations and basically paved the way for modern scripted animation in Flash.
Method | Defined by | ||
---|---|---|---|
Constructor.
| Transitions | ||
backIn(t:Number, b:Number, c:Number, d:Number):Number
[static]
Back in easing equation.
| Transitions | ||
backInAndOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Back in and out easing equation.
| Transitions | ||
backOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Back out easing equation.
| Transitions | ||
bounce(t:Number, b:Number, c:Number, d:Number):Number
[static]
Bounce easing equation.
| Transitions | ||
cubicIn(t:Number, b:Number, c:Number, d:Number):Number
[static]
Cubic in easing equation.
| Transitions | ||
cubicInAndOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Cubic in and out easing equation.
| Transitions | ||
cubicOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Cubic out easing equation.
| Transitions | ||
elasticIn(t:Number, b:Number, c:Number, d:Number):Number
[static]
Elastic in easing equation.
| Transitions | ||
elasticInAndOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Elastic in and out easing equation.
| Transitions | ||
elasticOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Elastic out easing equation.
| Transitions | ||
expoIn(t:Number, b:Number, c:Number, d:Number):Number
[static]
Expo in easing equation.
| Transitions | ||
expoInAndOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Expo in and out easing equation.
| Transitions | ||
expoOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Expo out easing equation.
| Transitions | ||
linear(t:Number, b:Number, c:Number, d:Number):Number
[static]
Linear easing equation.
| Transitions | ||
quadIn(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quad in easing equation.
| Transitions | ||
quadInAndOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quad in and out easing equation.
| Transitions | ||
quadOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quad out easing equation.
| Transitions | ||
quartIn(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quart in easing equation.
| Transitions | ||
quartInAndOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quart in and out easing equation.
| Transitions | ||
quartOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quart out easing equation.
| Transitions | ||
quintIn(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quint in easing equation.
| Transitions | ||
quintInAndOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quint in and out easing equation.
| Transitions | ||
quintOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Quint out easing equation.
| Transitions | ||
sineIn(t:Number, b:Number, c:Number, d:Number):Number
[static]
Sine in easing equation.
| Transitions | ||
sineInAndOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Sine in and out easing equation.
| Transitions | ||
sineOut(t:Number, b:Number, c:Number, d:Number):Number
[static]
Sine out easing equation.
| Transitions |
Constant | Defined by | ||
---|---|---|---|
BACK_IN : String = "backIn" [static]
Reference to the back in easing equation.
| Transitions | ||
BACK_IN_AND_OUT : String = "backInAndOut" [static]
Reference to the back in and out easing equation.
| Transitions | ||
BACK_OUT : String = "backOut" [static]
Reference to the back out easing equation.
| Transitions | ||
BOUNCE : String = "bounce" [static]
Reference to the bounce easing equation.
| Transitions | ||
CUBIC_IN : String = "cubicIn" [static]
Reference to the cubic in easing equation.
| Transitions | ||
CUBIC_IN_AND_OUT : String = "cubicInAndOut" [static]
Reference to the cubic in and out easing equation.
| Transitions | ||
CUBIC_OUT : String = "cubicOut" [static]
Reference to the cubic out easing equation.
| Transitions | ||
DEFAULT_TRANSITION : String = "linear" [static]
Configuration for the default transition.
| Transitions | ||
ELASTIC_IN : String = "elasticIn" [static]
Reference to the elastic in easing equation.
| Transitions | ||
ELASTIC_IN_AND_OUT : String = "elasticInAndOut" [static]
Reference to the elastic in and out easing equation.
| Transitions | ||
ELASTIC_OUT : String = "elasticOut" [static]
Reference to the elastic out easing equation.
| Transitions | ||
EXPO_IN : String = "expoIn" [static]
Reference to the expo in easing equation.
| Transitions | ||
EXPO_IN_AND_OUT : String = "expoInAndOut" [static]
Reference to the expo in and out easing equation.
| Transitions | ||
EXPO_OUT : String = "expoOut" [static]
Reference to the expo out easing equation.
| Transitions | ||
LINEAR : String = "linear" [static]
Reference to the linear easing equation.
| Transitions | ||
QUAD_IN : String = "quadIn" [static]
Reference to the quad in easing equation.
| Transitions | ||
QUAD_IN_AND_OUT : String = "quadInAndOut" [static]
Reference to the quad in and out easing equation.
| Transitions | ||
QUAD_OUT : String = "quadOut" [static]
Reference to the quad out easing equation.
| Transitions | ||
QUART_IN : String = "quartIn" [static]
Reference to the quart in easing equation.
| Transitions | ||
QUART_IN_AND_OUT : String = "quartInAndOut" [static]
Reference to the quart in and out easing equation.
| Transitions | ||
QUART_OUT : String = "quartOut" [static]
Reference to the quart out easing equation.
| Transitions | ||
QUINT_IN : String = "quintIn" [static]
Reference to the quint in easing equation.
| Transitions | ||
QUINT_IN_AND_OUT : String = "quintInAndOut" [static]
Reference to the quint in and out easing equation.
| Transitions | ||
QUINT_OUT : String = "quintOut" [static]
Reference to the quint out easing equation.
| Transitions | ||
SINE_IN : String = "sineIn" [static]
Reference to the sine in easing equation.
| Transitions | ||
SINE_IN_AND_OUT : String = "sineInAndOut" [static]
Reference to the sine in and out easing equation.
| Transitions | ||
SINE_OUT : String = "sineOut" [static]
Reference to the sine out easing equation.
| Transitions |
Transitions | () | constructor |
public function Transitions()
Constructor.
backIn | () | method |
public static function backIn(t:Number, b:Number, c:Number, d:Number):Number
Back in easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
backInAndOut | () | method |
public static function backInAndOut(t:Number, b:Number, c:Number, d:Number):Number
Back in and out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
backOut | () | method |
public static function backOut(t:Number, b:Number, c:Number, d:Number):Number
Back out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
bounce | () | method |
public static function bounce(t:Number, b:Number, c:Number, d:Number):Number
Bounce easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
cubicIn | () | method |
public static function cubicIn(t:Number, b:Number, c:Number, d:Number):Number
Cubic in easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
cubicInAndOut | () | method |
public static function cubicInAndOut(t:Number, b:Number, c:Number, d:Number):Number
Cubic in and out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
cubicOut | () | method |
public static function cubicOut(t:Number, b:Number, c:Number, d:Number):Number
Cubic out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
elasticIn | () | method |
public static function elasticIn(t:Number, b:Number, c:Number, d:Number):Number
Elastic in easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
elasticInAndOut | () | method |
public static function elasticInAndOut(t:Number, b:Number, c:Number, d:Number):Number
Elastic in and out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
elasticOut | () | method |
public static function elasticOut(t:Number, b:Number, c:Number, d:Number):Number
Elastic out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
expoIn | () | method |
public static function expoIn(t:Number, b:Number, c:Number, d:Number):Number
Expo in easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
expoInAndOut | () | method |
public static function expoInAndOut(t:Number, b:Number, c:Number, d:Number):Number
Expo in and out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
expoOut | () | method |
public static function expoOut(t:Number, b:Number, c:Number, d:Number):Number
Expo out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
linear | () | method |
public static function linear(t:Number, b:Number, c:Number, d:Number):Number
Linear easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quadIn | () | method |
public static function quadIn(t:Number, b:Number, c:Number, d:Number):Number
Quad in easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quadInAndOut | () | method |
public static function quadInAndOut(t:Number, b:Number, c:Number, d:Number):Number
Quad in and out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quadOut | () | method |
public static function quadOut(t:Number, b:Number, c:Number, d:Number):Number
Quad out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quartIn | () | method |
public static function quartIn(t:Number, b:Number, c:Number, d:Number):Number
Quart in easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quartInAndOut | () | method |
public static function quartInAndOut(t:Number, b:Number, c:Number, d:Number):Number
Quart in and out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quartOut | () | method |
public static function quartOut(t:Number, b:Number, c:Number, d:Number):Number
Quart out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quintIn | () | method |
public static function quintIn(t:Number, b:Number, c:Number, d:Number):Number
Quint in easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quintInAndOut | () | method |
public static function quintInAndOut(t:Number, b:Number, c:Number, d:Number):Number
Quint in and out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
quintOut | () | method |
public static function quintOut(t:Number, b:Number, c:Number, d:Number):Number
Quint out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
sineIn | () | method |
public static function sineIn(t:Number, b:Number, c:Number, d:Number):Number
Sine in easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
sineInAndOut | () | method |
public static function sineInAndOut(t:Number, b:Number, c:Number, d:Number):Number
Sine in and out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
sineOut | () | method |
public static function sineOut(t:Number, b:Number, c:Number, d:Number):Number
Sine out easing equation.
Parameterst:Number — TIME: Current time during the tween. 0 to duration.
|
|
b:Number — BEGINING: Starting value of the property being tweened.
|
|
c:Number — CHANGE: Change in the properties value from start to target.
|
|
d:Number — DURATION: Duration of the tween.
|
Number — The resulting tweened value.
|
BACK_IN | constant |
public static const BACK_IN:String = "backIn"
Reference to the back in easing equation.
See also
BACK_IN_AND_OUT | constant |
public static const BACK_IN_AND_OUT:String = "backInAndOut"
Reference to the back in and out easing equation.
See also
BACK_OUT | constant |
public static const BACK_OUT:String = "backOut"
Reference to the back out easing equation.
See also
BOUNCE | constant |
public static const BOUNCE:String = "bounce"
Reference to the bounce easing equation.
See also
CUBIC_IN | constant |
public static const CUBIC_IN:String = "cubicIn"
Reference to the cubic in easing equation.
See also
CUBIC_IN_AND_OUT | constant |
public static const CUBIC_IN_AND_OUT:String = "cubicInAndOut"
Reference to the cubic in and out easing equation.
See also
CUBIC_OUT | constant |
public static const CUBIC_OUT:String = "cubicOut"
Reference to the cubic out easing equation.
See also
DEFAULT_TRANSITION | constant |
public static const DEFAULT_TRANSITION:String = "linear"
Configuration for the default transition.
ELASTIC_IN | constant |
public static const ELASTIC_IN:String = "elasticIn"
Reference to the elastic in easing equation.
See also
ELASTIC_IN_AND_OUT | constant |
public static const ELASTIC_IN_AND_OUT:String = "elasticInAndOut"
Reference to the elastic in and out easing equation.
See also
ELASTIC_OUT | constant |
public static const ELASTIC_OUT:String = "elasticOut"
Reference to the elastic out easing equation.
See also
EXPO_IN | constant |
public static const EXPO_IN:String = "expoIn"
Reference to the expo in easing equation.
See also
EXPO_IN_AND_OUT | constant |
public static const EXPO_IN_AND_OUT:String = "expoInAndOut"
Reference to the expo in and out easing equation.
See also
EXPO_OUT | constant |
public static const EXPO_OUT:String = "expoOut"
Reference to the expo out easing equation.
See also
LINEAR | constant |
public static const LINEAR:String = "linear"
Reference to the linear easing equation.
See also
QUAD_IN | constant |
public static const QUAD_IN:String = "quadIn"
Reference to the quad in easing equation.
See also
QUAD_IN_AND_OUT | constant |
public static const QUAD_IN_AND_OUT:String = "quadInAndOut"
Reference to the quad in and out easing equation.
See also
QUAD_OUT | constant |
public static const QUAD_OUT:String = "quadOut"
Reference to the quad out easing equation.
See also
QUART_IN | constant |
public static const QUART_IN:String = "quartIn"
Reference to the quart in easing equation.
See also
QUART_IN_AND_OUT | constant |
public static const QUART_IN_AND_OUT:String = "quartInAndOut"
Reference to the quart in and out easing equation.
See also
QUART_OUT | constant |
public static const QUART_OUT:String = "quartOut"
Reference to the quart out easing equation.
See also
QUINT_IN | constant |
public static const QUINT_IN:String = "quintIn"
Reference to the quint in easing equation.
See also
QUINT_IN_AND_OUT | constant |
public static const QUINT_IN_AND_OUT:String = "quintInAndOut"
Reference to the quint in and out easing equation.
See also
QUINT_OUT | constant |
public static const QUINT_OUT:String = "quintOut"
Reference to the quint out easing equation.
See also
SINE_IN | constant |
public static const SINE_IN:String = "sineIn"
Reference to the sine in easing equation.
See also
SINE_IN_AND_OUT | constant |
public static const SINE_IN_AND_OUT:String = "sineInAndOut"
Reference to the sine in and out easing equation.
See also
SINE_OUT | constant |
public static const SINE_OUT:String = "sineOut"
Reference to the sine out easing equation.
See also