Packageflare.animate
Interfacepublic interface ISchedulable
ImplementorsTransition

Interface for "schedulable" objects that can be run by the Scheduler class.



Public Properties
 PropertyDefined by
  id : String
A unique name identifying this schedulable object.
ISchedulable
Public Methods
 MethodDefined by
  
cancelled():void
Invoked if a scheduled item is cancelled by the scheduler.
ISchedulable
  
evaluate(time:Number):Boolean
Evaluate a scheduled call.
ISchedulable
Property detail
idproperty
id:String  [read-write]

A unique name identifying this schedulable object. The default is null. If non-null, any other scheduled items with the same id will be canceled upon scheduling.

Once an item has been scheduled, it's id should not be changed. However, it is left to subclasses to respect this convention. If it is not followed, erratic cancels may occur.

Implementation
    public function get id():String
    public function set id(value:String):void
Method detail
cancelled()method
public function cancelled():void

Invoked if a scheduled item is cancelled by the scheduler.

evaluate()method 
public function evaluate(time:Number):Boolean

Evaluate a scheduled call.

Parameters
time:Number — the current time in milliseconds

Returns
Boolean — true if this item should be removed from the scheduler, false if it should continue to be run.