Packagefl.motion.easing
Classpublic class Linear

The Linear class defines easing functions to implement non-accelerated motion with ActionScript animations. Its methods all produce the same effect, a constant motion. The various names easeIn, easeOut and so on, are provided in the interest of polymorphism.

See also

Motion XML Elements
fl.motion.FunctionEase


Public Methods
 MethodDefined by
  
easeIn(t:Number, b:Number, c:Number, d:Number):Number
[static] The easeIn() method defines a constant motion with no acceleration.
Linear
  
easeInOut(t:Number, b:Number, c:Number, d:Number):Number
[static] The easeInOut() method defines a constant motion with no acceleration.
Linear
  
easeNone(t:Number, b:Number, c:Number, d:Number):Number
[static] The easeNone() method defines a constant motion with no acceleration.
Linear
  
easeOut(t:Number, b:Number, c:Number, d:Number):Number
[static] The easeOut() method defines a constant motion with no acceleration.
Linear
Method detail
easeIn()method
public static function easeIn(t:Number, b:Number, c:Number, d:Number):Number

The easeIn() method defines a constant motion with no acceleration.

Parameters
t:Number — Specifies the current time, between 0 and duration inclusive.
 
b:Number — Specifies the initial value of the animation property.
 
c:Number — Specifies the total change in the animation property.
 
d:Number — Specifies the duration of the motion.

Returns
Number — The value of the interpolated property at the specified time.

See also

fl.motion.FunctionEase
easeInOut()method 
public static function easeInOut(t:Number, b:Number, c:Number, d:Number):Number

The easeInOut() method defines a constant motion with no acceleration.

Parameters
t:Number — Specifies the current time, between 0 and duration inclusive.
 
b:Number — Specifies the initial value of the animation property.
 
c:Number — Specifies the total change in the animation property.
 
d:Number — Specifies the duration of the motion.

Returns
Number — The value of the interpolated property at the specified time.

See also

fl.motion.FunctionEase
easeNone()method 
public static function easeNone(t:Number, b:Number, c:Number, d:Number):Number

The easeNone() method defines a constant motion with no acceleration.

Parameters
t:Number — Specifies the current time, between 0 and duration inclusive.
 
b:Number — Specifies the initial value of the animation property.
 
c:Number — Specifies the total change in the animation property.
 
d:Number — Specifies the duration of the motion.

Returns
Number — The value of the interpolated property at the specified time.

See also

fl.motion.FunctionEase
easeOut()method 
public static function easeOut(t:Number, b:Number, c:Number, d:Number):Number

The easeOut() method defines a constant motion with no acceleration.

Parameters
t:Number — Specifies the current time, between 0 and duration inclusive.
 
b:Number — Specifies the initial value of the animation property.
 
c:Number — Specifies the total change in the animation property.
 
d:Number — Specifies the duration of the motion.

Returns
Number — The value of the interpolated property at the specified time.

See also

fl.motion.FunctionEase