Packagecom.desuade.motion.eases
Classpublic class Easing
InheritanceEasing Inheritance Object

Language Version : ActionScript 3
Since : 15.03.2010
Runtime Versions : AIR 1.0, Flash Player 9.0.0

Static class that contains all the easings in String form (allowing XML).



Public Methods
 MethodDefined By
  
easeInBack(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number
[static] Generates tween where target backtracks slightly, then reverses direction and moves to position.
Easing
  
easeInBounce(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates easing in tween where target bounces upon entering the animation and then accelarates towards its final position.
Easing
  
easeInCirc(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates circular easing in tween where equation for motion is based on the equation for half of a circle, which uses a square root.
Easing
  
easeInCubic(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates cubic easing in tween where equation for motion is based on the power of three and is a bit more curved than a quadratic ease.
Easing
  
easeInElastic(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number
[static] Generates elastic easing in tween where equation for motion is based on Hooke's Law of F = -kd.
Easing
  
easeInExpo(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates exponential (sharp curve) easing in tween where equation for motion is based on the number 2 raised to a multiple of 10.
Easing
  
easeInOutBack(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number
[static] Generates tween where target backtracks slightly, then reverses direction towards final position, overshoots final position, then ultimately reverses direction to reach final position.
Easing
  
easeInOutBounce(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates easing in-out tween where target bounces upon entering the animation and then accelarates towards its final position.
Easing
  
easeInOutCirc(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates circular easing in-out tween where equation for motion is based on the equation for half of a circle, which uses a square root.
Easing
  
easeInOutCubic(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates cubic easing in-out tween where equation for motion is based on the power of three and is a bit more curved than a quadratic ease.
Easing
  
easeInOutElastic(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number
[static] Generates elastic easing in-out tween where equation for motion is based on Hooke's Law of F = -kd.
Easing
  
easeInOutExpo(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates exponential (sharp curve) easing in-out tween where equation for motion is based on the number 2 raised to a multiple of 10.
Easing
  
easeInOutQuad(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quadratic, or "normal" easing in-out tween (two half tweens fused together) where equation for motion is based on a squared variable.
Easing
  
easeInOutQuart(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quartic easing in-out tween where equation for motion is based on the power of four and feels a bit "other-worldly" as the acceleration becomes more exaggerated.
Easing
  
easeInOutQuint(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quartic easing in-out tween where equation for motion is based on the power of five and motion starts slow and becomes quite fast in what appears to be a fairly pronounced curve.
Easing
  
easeInOutSine(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates sinusoidal easing in-out tween where equation for motion is based on a sine or cosine function.
Easing
  
easeInOutStrong(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates a "Strong" tween, easing in and out.
Easing
  
easeInQuad(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quadratic, or "normal" easing in tween where equation for motion is based on a squared variable.
Easing
  
easeInQuart(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quartic easing in tween where equation for motion is based on the power of four and feels a bit "other-worldly" as the acceleration becomes more exaggerated.
Easing
  
easeInQuint(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quartic easing in tween where equation for motion is based on the power of five and motion starts slow and becomes quite fast in what appears to be a fairly pronounced curve.
Easing
  
easeInSine(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates sinusoidal easing in tween where equation for motion is based on a sine or cosine function.
Easing
  
easeInStrong(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates a "Strong" tween, easing in.
Easing
  
easeOutBack(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number
[static] Generates tween where target moves and overshoots final position, then reverse direction to reach final position.
Easing
  
easeOutBounce(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates easing out tween where target bounces before reaching final position.
Easing
  
easeOutCirc(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates circular easing out tween where equation for motion is based on the equation for half of a circle, which uses a square root.
Easing
  
easeOutCubic(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates cubic easing out tween where equation for motion is based on the power of three and is a bit more curved than a quadratic ease.
Easing
  
easeOutElastic(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number
[static] Generates elastic easing out tween where equation for motion is based on Hooke's Law of F = -kd.
Easing
  
easeOutExpo(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates exponential (sharp curve) easing out tween where equation for motion is based on the number 2 raised to a multiple of 10.
Easing
  
easeOutInBack(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number
[static] Generates tween where target moves towards and overshoots final position, then ultimately reverses direction to reach its beginning position.
Easing
  
easeOutInBounce(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates easing out-in tween where target bounces upon entering the animation and then accelarates towards its final position.
Easing
  
easeOutInCirc(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates circular easing out-in tween where equation for motion is based on the equation for half of a circle, which uses a square root.
Easing
  
easeOutInCubic(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates cubic easing out-in tween where equation for motion is based on the power of three and is a bit more curved than a quadratic ease.
Easing
  
easeOutInElastic(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number
[static] Generates elastic easing out-in tween where equation for motion is based on Hooke's Law of F = -kd.
Easing
  
easeOutInExpo(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates exponential (sharp curve) easing out-in tween where equation for motion is based on the number 2 raised to a multiple of 10.
Easing
  
easeOutInQuart(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quartic easing out-in tween where equation for motion is based on the power of four and feels a bit "other-worldly" as the acceleration becomes more exaggerated.
Easing
  
easeOutInQuint(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quartic easing out-in tween where equation for motion is based on the power of five and motion starts slow and becomes quite fast in what appears to be a fairly pronounced curve.
Easing
  
easeOutInSine(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates sinusoidal easing out-in tween where equation for motion is based on a sine or cosine function.
Easing
  
easeOutQuad(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quadratic, or "normal" easing out tween where equation for motion is based on a squared variable.
Easing
  
easeOutQuart(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quartic easing out tween where equation for motion is based on the power of four and feels a bit "other-worldly" as the acceleration becomes more exaggerated.
Easing
  
easeOutQuint(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates quartic easing out tween where equation for motion is based on the power of five and motion starts slow and becomes quite fast in what appears to be a fairly pronounced curve.
Easing
  
easeOutSine(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates sinusoidal easing out tween where equation for motion is based on a sine or cosine function.
Easing
  
easeOutStrong(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates a "Strong" tween, easing out.
Easing
  
linear(t:Number, b:Number, c:Number, d:Number):Number
[static] Generates linear tween with constant velocity and no acceleration.
Easing
Method Detail
easeInBack()method
public static function easeInBack(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number

Generates tween where target backtracks slightly, then reverses direction and moves to position.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween
 
s:Number (default = 1.70158) — (optional) controls amount of overshoot, with higher value yielding greater overshoot.

Returns
Number — position
easeInBounce()method 
public static function easeInBounce(t:Number, b:Number, c:Number, d:Number):Number

Generates easing in tween where target bounces upon entering the animation and then accelarates towards its final position.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInCirc()method 
public static function easeInCirc(t:Number, b:Number, c:Number, d:Number):Number

Generates circular easing in tween where equation for motion is based on the equation for half of a circle, which uses a square root.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInCubic()method 
public static function easeInCubic(t:Number, b:Number, c:Number, d:Number):Number

Generates cubic easing in tween where equation for motion is based on the power of three and is a bit more curved than a quadratic ease.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInElastic()method 
public static function easeInElastic(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number

Generates elastic easing in tween where equation for motion is based on Hooke's Law of F = -kd.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween
 
a:Number (default = 0) — (optional) amplitude, or magnitude of wave's oscillation
 
p:Number (default = 0) — (optional) period

Returns
Number — position
easeInExpo()method 
public static function easeInExpo(t:Number, b:Number, c:Number, d:Number):Number

Generates exponential (sharp curve) easing in tween where equation for motion is based on the number 2 raised to a multiple of 10.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutBack()method 
public static function easeInOutBack(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number

Generates tween where target backtracks slightly, then reverses direction towards final position, overshoots final position, then ultimately reverses direction to reach final position.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween
 
s:Number (default = 1.70158) — (optional) controls amount of overshoot, with higher value yielding greater overshoot.

Returns
Number — position
easeInOutBounce()method 
public static function easeInOutBounce(t:Number, b:Number, c:Number, d:Number):Number

Generates easing in-out tween where target bounces upon entering the animation and then accelarates towards its final position.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutCirc()method 
public static function easeInOutCirc(t:Number, b:Number, c:Number, d:Number):Number

Generates circular easing in-out tween where equation for motion is based on the equation for half of a circle, which uses a square root.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutCubic()method 
public static function easeInOutCubic(t:Number, b:Number, c:Number, d:Number):Number

Generates cubic easing in-out tween where equation for motion is based on the power of three and is a bit more curved than a quadratic ease.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutElastic()method 
public static function easeInOutElastic(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number

Generates elastic easing in-out tween where equation for motion is based on Hooke's Law of F = -kd.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween
 
a:Number (default = 0) — (optional) amplitude, or magnitude of wave's oscillation
 
p:Number (default = 0) — (optional) period

Returns
Number — position
easeInOutExpo()method 
public static function easeInOutExpo(t:Number, b:Number, c:Number, d:Number):Number

Generates exponential (sharp curve) easing in-out tween where equation for motion is based on the number 2 raised to a multiple of 10.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutQuad()method 
public static function easeInOutQuad(t:Number, b:Number, c:Number, d:Number):Number

Generates quadratic, or "normal" easing in-out tween (two half tweens fused together) where equation for motion is based on a squared variable.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutQuart()method 
public static function easeInOutQuart(t:Number, b:Number, c:Number, d:Number):Number

Generates quartic easing in-out tween where equation for motion is based on the power of four and feels a bit "other-worldly" as the acceleration becomes more exaggerated.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutQuint()method 
public static function easeInOutQuint(t:Number, b:Number, c:Number, d:Number):Number

Generates quartic easing in-out tween where equation for motion is based on the power of five and motion starts slow and becomes quite fast in what appears to be a fairly pronounced curve.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutSine()method 
public static function easeInOutSine(t:Number, b:Number, c:Number, d:Number):Number

Generates sinusoidal easing in-out tween where equation for motion is based on a sine or cosine function.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInOutStrong()method 
public static function easeInOutStrong(t:Number, b:Number, c:Number, d:Number):Number

Generates a "Strong" tween, easing in and out.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInQuad()method 
public static function easeInQuad(t:Number, b:Number, c:Number, d:Number):Number

Generates quadratic, or "normal" easing in tween where equation for motion is based on a squared variable.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInQuart()method 
public static function easeInQuart(t:Number, b:Number, c:Number, d:Number):Number

Generates quartic easing in tween where equation for motion is based on the power of four and feels a bit "other-worldly" as the acceleration becomes more exaggerated.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInQuint()method 
public static function easeInQuint(t:Number, b:Number, c:Number, d:Number):Number

Generates quartic easing in tween where equation for motion is based on the power of five and motion starts slow and becomes quite fast in what appears to be a fairly pronounced curve.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInSine()method 
public static function easeInSine(t:Number, b:Number, c:Number, d:Number):Number

Generates sinusoidal easing in tween where equation for motion is based on a sine or cosine function.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeInStrong()method 
public static function easeInStrong(t:Number, b:Number, c:Number, d:Number):Number

Generates a "Strong" tween, easing in.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutBack()method 
public static function easeOutBack(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number

Generates tween where target moves and overshoots final position, then reverse direction to reach final position.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween
 
s:Number (default = 1.70158) — (optional) controls amount of overshoot, with higher value yielding greater overshoot.

Returns
Number — position
easeOutBounce()method 
public static function easeOutBounce(t:Number, b:Number, c:Number, d:Number):Number

Generates easing out tween where target bounces before reaching final position.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutCirc()method 
public static function easeOutCirc(t:Number, b:Number, c:Number, d:Number):Number

Generates circular easing out tween where equation for motion is based on the equation for half of a circle, which uses a square root.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutCubic()method 
public static function easeOutCubic(t:Number, b:Number, c:Number, d:Number):Number

Generates cubic easing out tween where equation for motion is based on the power of three and is a bit more curved than a quadratic ease.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutElastic()method 
public static function easeOutElastic(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number

Generates elastic easing out tween where equation for motion is based on Hooke's Law of F = -kd.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween
 
a:Number (default = 0) — (optional) amplitude, or magnitude of wave's oscillation
 
p:Number (default = 0) — (optional) period

Returns
Number — position
easeOutExpo()method 
public static function easeOutExpo(t:Number, b:Number, c:Number, d:Number):Number

Generates exponential (sharp curve) easing out tween where equation for motion is based on the number 2 raised to a multiple of 10.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutInBack()method 
public static function easeOutInBack(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number

Generates tween where target moves towards and overshoots final position, then ultimately reverses direction to reach its beginning position.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween
 
s:Number (default = 1.70158) — (optional) controls amount of overshoot, with higher value yielding greater overshoot.

Returns
Number — position
easeOutInBounce()method 
public static function easeOutInBounce(t:Number, b:Number, c:Number, d:Number):Number

Generates easing out-in tween where target bounces upon entering the animation and then accelarates towards its final position.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutInCirc()method 
public static function easeOutInCirc(t:Number, b:Number, c:Number, d:Number):Number

Generates circular easing out-in tween where equation for motion is based on the equation for half of a circle, which uses a square root.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutInCubic()method 
public static function easeOutInCubic(t:Number, b:Number, c:Number, d:Number):Number

Generates cubic easing out-in tween where equation for motion is based on the power of three and is a bit more curved than a quadratic ease.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutInElastic()method 
public static function easeOutInElastic(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number

Generates elastic easing out-in tween where equation for motion is based on Hooke's Law of F = -kd.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween
 
a:Number (default = 0) — (optional) amplitude, or magnitude of wave's oscillation
 
p:Number (default = 0) — (optional) period

Returns
Number — position
easeOutInExpo()method 
public static function easeOutInExpo(t:Number, b:Number, c:Number, d:Number):Number

Generates exponential (sharp curve) easing out-in tween where equation for motion is based on the number 2 raised to a multiple of 10.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutInQuart()method 
public static function easeOutInQuart(t:Number, b:Number, c:Number, d:Number):Number

Generates quartic easing out-in tween where equation for motion is based on the power of four and feels a bit "other-worldly" as the acceleration becomes more exaggerated.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutInQuint()method 
public static function easeOutInQuint(t:Number, b:Number, c:Number, d:Number):Number

Generates quartic easing out-in tween where equation for motion is based on the power of five and motion starts slow and becomes quite fast in what appears to be a fairly pronounced curve.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutInSine()method 
public static function easeOutInSine(t:Number, b:Number, c:Number, d:Number):Number

Generates sinusoidal easing out-in tween where equation for motion is based on a sine or cosine function.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutQuad()method 
public static function easeOutQuad(t:Number, b:Number, c:Number, d:Number):Number

Generates quadratic, or "normal" easing out tween where equation for motion is based on a squared variable.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutQuart()method 
public static function easeOutQuart(t:Number, b:Number, c:Number, d:Number):Number

Generates quartic easing out tween where equation for motion is based on the power of four and feels a bit "other-worldly" as the acceleration becomes more exaggerated.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutQuint()method 
public static function easeOutQuint(t:Number, b:Number, c:Number, d:Number):Number

Generates quartic easing out tween where equation for motion is based on the power of five and motion starts slow and becomes quite fast in what appears to be a fairly pronounced curve.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutSine()method 
public static function easeOutSine(t:Number, b:Number, c:Number, d:Number):Number

Generates sinusoidal easing out tween where equation for motion is based on a sine or cosine function.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
easeOutStrong()method 
public static function easeOutStrong(t:Number, b:Number, c:Number, d:Number):Number

Generates a "Strong" tween, easing out.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position
linear()method 
public static function linear(t:Number, b:Number, c:Number, d:Number):Number

Generates linear tween with constant velocity and no acceleration.

Parameters

t:Number — t time
 
b:Number — beginning position
 
c:Number — total change in position
 
d:Number — duration of the tween

Returns
Number — position