Dispatched to notify changes in an animator's state.

Static variables

@:value("cycle_complete")staticinlineread onlyCYCLE_COMPLETE:String = "cycle_complete"

Defines the value of the type property of a cycle complete event object.

@:value("start")staticinlineread onlySTART:String = "start"

Defines the value of the type property of a start event object.

@:value("stop")staticinlineread onlySTOP:String = "stop"

Defines the value of the type property of a stop event object.

Constructor

new(type:String, animator:AnimatorBase)

Create a new AnimatorEvent object.

Parameters:

type

The event type.

animator

The animator object that is the subject of this event.

Variables

Methods

clone():Event

Clones the event.

Returns:

An exact duplicate of the current event object.