| Method | Defined by | ||
|---|---|---|---|
|
easeIn(timeElapsed:Number, duration:Number, amplitude:Number = 0, period:Number = 0):Number
[static]
easeIn starts out slow and increases in speed towards the end of the duration.
| Elastic | ||
|
easeInOut(timeElapsed:Number, duration:Number, amplitude:Number = 0, period:Number = 0):Number
[static]
easeInOut combines the motion of easeIn and easeOut by starting out slow and increasing in speed
towards the middle of the duration, then slowing down again towards the end.
| Elastic | ||
|
easeOut(timeElapsed:Number, duration:Number, amplitude:Number = 0, period:Number = 0):Number
[static]
easeOut starts out fast and decreases in speed towards the end of the duration.
| Elastic | ||
|
easeOutIn(timeElapsed:Number, duration:Number, amplitude:Number = 0, period:Number = 0):Number
[static]
easeOutIn combines the motion of easeIn and easeOut by starting out decelerating
towards the middle of the duration, then accelerating end.
| Elastic | ||
| easeIn | () | method |
public static function easeIn(timeElapsed:Number, duration:Number, amplitude:Number = 0, period:Number = 0):NumbereaseIn starts out slow and increases in speed towards the end of the duration. The values wobble around the starting point before going towards the end point.
ParameterstimeElapsed:Number — The time since the tween began in milliseconds or frames.
|
|
duration:Number — The duration of the tween, in milliseconds or frames.
|
|
amplitude:Number (default = 0) — The aplitude of the sine wave. Low numbers are less extreme than high numbers.
|
|
period:Number (default = 0) — The period of the sine wave. Low numbers are wobbly, high numbers are smooth.
|
Number — percentage complete - between 0.0 and 1.0 but it may extend below 0.0 or above 1.0
|
See also
| easeInOut | () | method |
public static function easeInOut(timeElapsed:Number, duration:Number, amplitude:Number = 0, period:Number = 0):NumbereaseInOut combines the motion of easeIn and easeOut by starting out slow and increasing in speed towards the middle of the duration, then slowing down again towards the end. The values wobble around the starting point (0.0) then go to the the end point (1.0) and wobble there as well.
ParameterstimeElapsed:Number — The time since the tween began in milliseconds or frames.
|
|
duration:Number — The duration of the tween, in milliseconds or frames.
|
|
amplitude:Number (default = 0) — The aplitude of the sine wave. Low numbers are less extreme than high numbers.
|
|
period:Number (default = 0) — The period of the sine wave. Low numbers are wobbly, high numbers are smooth.
|
Number — percentage complete - between 0.0 and 1.0 but it may extend below 0.0 or above 1.0
|
| easeOut | () | method |
public static function easeOut(timeElapsed:Number, duration:Number, amplitude:Number = 0, period:Number = 0):NumbereaseOut starts out fast and decreases in speed towards the end of the duration. The values wobble around the endpoint after reaching it.
ParameterstimeElapsed:Number — The time since the tween began in milliseconds or frames.
|
|
duration:Number — The duration of the tween, in milliseconds or frames.
|
|
amplitude:Number (default = 0) — The aplitude of the sine wave. Low numbers are less extreme than high numbers.
|
|
period:Number (default = 0) — The period of the sine wave. Low numbers are wobbly, high numbers are smooth.
|
Number — percentage complete - between 0.0 and 1.0 but it may extend below 0.0 or above 1.0
|
| easeOutIn | () | method |
public static function easeOutIn(timeElapsed:Number, duration:Number, amplitude:Number = 0, period:Number = 0):NumbereaseOutIn combines the motion of easeIn and easeOut by starting out decelerating towards the middle of the duration, then accelerating end.
ParameterstimeElapsed:Number — The time since the tween began in milliseconds or frames.
|
|
duration:Number — The duration of the tween, in milliseconds or frames.
|
|
amplitude:Number (default = 0) — The aplitude of the sine wave. Low numbers are less extreme than high numbers.
|
|
period:Number (default = 0) — The period of the sine wave. Low numbers are wobbly, high numbers are smooth.
|
Number — percentage complete - between 0.0 and 1.0 but it may extend below 0.0 or above 1.0
|