Packagecom.pblabs.animation
Classpublic class PointAnimator
InheritancePointAnimator Inheritance Animator Inheritance flash.events.EventDispatcher

Animator subclass for animating the flash.geom.Point class.



Public Properties
 PropertyDefined By
 InheritedanimationType : AnimatorType
The type of playback to use for the animation.
Animator
 InheritedcurrentValue : *
[read-only] The current value of the animation.
Animator
 Inheritedduration : Number
The time it should take to animate from the start value to the target value.
Animator
 Inheritedease : Function
The current ease function that will be used to animate from start to target value
Animator
 Inheritedelapsed : Number
[read-only] The amount of time that has passed since the animation started.
Animator
 InheritedisAnimating : Boolean
[read-only] Whether or not the animation is currently playing.
Animator
 InheritedrepeatCount : int
The current number times the animation will be repeated.
Animator
 InheritedstartValue : *
The value the animation should start at.
Animator
 InheritedtargetValue : *
The value to animate to.
Animator
 InheritedtotalRepeatCount : int
[read-only] The total number of times to repeat the animation.
Animator
Public Methods
 MethodDefined By
 Inherited
animate(elapsed:Number):void
This should be called every frame to perform the animation.
Animator
 Inherited
finish():void
Set the current value to the target value instantly.
Animator
 Inherited
play():void
Starts playback.
Animator
 Inherited
reset():void
Resets the animation to all the values it had before it started playing.
Animator
 Inherited
reverse():void
Reverses the animation, effectively setting the start value to the target value and the target value to the start value.
Animator
 Inherited
start(startValue:*, targetValue:*, duration:Number, type:AnimatorType, repeatCount:int = 0):void
Starts the animation.
Animator
 Inherited
stop():void
Stops playback.
Animator
Protected Methods
 MethodDefined By
  
doEase(start:*, end:*, elapsed:Number, duration:Number):*
[override]
PointAnimator
  
interpolate(start:*, end:*, time:Number):*
[override]
PointAnimator
Events
 Event Summary Defined By
 Inherited This event is dispatched by an Animator when the animation completely finishes.Animator
 Inherited This event is dispatched by an Animator when the animation has finished one iteration and is repeating.Animator
 Inherited This event is dispatched by an Animator when the animation is resumed after being manually stopped.Animator
 Inherited This event is dispatched by an Animator when the animation first starts.Animator
 Inherited This event is dispatched by an Animator when the animation is manually stopped.Animator
Method Detail
doEase()method
override protected function doEase(start:*, end:*, elapsed:Number, duration:Number):*

Parameters

start:*
 
end:*
 
elapsed:Number
 
duration:Number

Returns
*
interpolate()method 
override protected function interpolate(start:*, end:*, time:Number):*

Parameters

start:*
 
end:*
 
time:Number

Returns
*