Packagecom.pblabs.animation
Classpublic class AnimatorType
InheritanceAnimatorType Inheritance Enumerable Inheritance Object

An enumeration that holds all the possible values for a type of animation.

See also

Animator


Public Properties
 PropertyDefined By
  defaultType : Enumerable
[override] [read-only] This must be implemented by subclasses.
AnimatorType
  typeMap : Dictionary
[override] [read-only] This must be implemented by subclasses.
AnimatorType
Public Methods
 MethodDefined By
 Inherited
deserialize(xml:XML):*
deserializes the object from xml.
Enumerable
 Inherited
serialize(xml:XML):void
serializes the object to XML.
Enumerable
Public Constants
 ConstantDefined By
  LOOP_ANIMATION : AnimatorType
[static] The value to use for animations that should play once, and then start over.
AnimatorType
  NO_ANIMATION : AnimatorType
[static] The value to use for animations that aren't currently animating.
AnimatorType
  PING_PONG_ANIMATION : AnimatorType
[static] The value to use for animations that should play once, then reverse and animate back to the start value.
AnimatorType
  PLAY_ANIMATION_ONCE : AnimatorType
[static] The value to use for animations that should play once and then stop.
AnimatorType
Property Detail
defaultTypeproperty
defaultType:Enumerable  [read-only] [override]

This must be implemented by subclasses. It is the type to use when a string isn't found in the TypeMap.


Implementation
    public function get defaultType():Enumerable
typeMapproperty 
typeMap:Dictionary  [read-only] [override]

This must be implemented by subclasses. It is a dictionary that maps the names of enumerable values to the instance of the enumerable they represent.


Implementation
    public function get typeMap():Dictionary
Constant Detail
LOOP_ANIMATIONConstant
public static const LOOP_ANIMATION:AnimatorType

The value to use for animations that should play once, and then start over.

NO_ANIMATIONConstant 
public static const NO_ANIMATION:AnimatorType

The value to use for animations that aren't currently animating.

PING_PONG_ANIMATIONConstant 
public static const PING_PONG_ANIMATION:AnimatorType

The value to use for animations that should play once, then reverse and animate back to the start value.

PLAY_ANIMATION_ONCEConstant 
public static const PLAY_ANIMATION_ONCE:AnimatorType

The value to use for animations that should play once and then stop.