Packagefeathers.motion.effectClasses
Classpublic class ParallelEffectContext
InheritanceParallelEffectContext Inheritance BaseEffectContext Inheritance EventDispatcher Inheritance Object
Implements IEffectContext

Product Version : Feathers 3.5.0

An effect context for running multiple effects in parallel.

See also

feathers.motion.Parallel


Public Properties
 PropertyDefined By
 Inheritedduration : Number
[read-only] The duration of the effect, in seconds.
BaseEffectContext
 Inheritedjuggler : Juggler
The Juggler used to update the effect when it is playing.
BaseEffectContext
 Inheritedposition : Number
Sets the position of the effect using a value between 0 and 1.
BaseEffectContext
 Inheritedtarget : DisplayObject
[read-only] The target of the effect.
BaseEffectContext
 Inheritedtransition : Object
[read-only] The transition, or easing function, used for the effect.
BaseEffectContext
Public Methods
 MethodDefined By
  
ParallelEffectContext(target:DisplayObject, functions:Array)
Constructor.
ParallelEffectContext
 Inherited
addEventListener(type:String, listener:Function):void
Registers an event listener at a certain object.
EventDispatcher
 Inherited
dispatchEvent(event:Event):void
Dispatches an event to all objects that have registered listeners for its type.
EventDispatcher
 Inherited
dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void
Dispatches an event with the given parameters to all objects that have registered listeners for the given type.
EventDispatcher
 Inherited
hasEventListener(type:String, listener:Function = null):Boolean
If called with one argument, figures out if there are any listeners registered for the given event type.
EventDispatcher
 Inherited
interrupt():void
Interrupts the playing effect, but the effect context will be allowed to determine on its own if it should call stop() or toEnd().
BaseEffectContext
 Inherited
pause():void
Pauses an effect that is currently playing.
BaseEffectContext
 Inherited
play():void
Starts playing the effect from its current position to the end.
BaseEffectContext
 Inherited
Starts playing the effect from its current position back to the beginning (completing at a position of 0).
BaseEffectContext
 Inherited
removeEventListener(type:String, listener:Function):void
Removes an event listener from the object.
EventDispatcher
 Inherited
removeEventListeners(type:String = null):void
Removes all event listeners with a certain type, or all of them if type is null.
EventDispatcher
 Inherited
stop():void
Stops the effect at its current position and forces Event.COMPLETE to dispatch.
BaseEffectContext
 Inherited
toEnd():void
Advances the effect to the end and forces Event.COMPLETE to dispatch.
BaseEffectContext
Protected Methods
 MethodDefined By
 Inherited
Called when the effect completes or is interrupted.
BaseEffectContext
 Inherited
Called when the effect is initialized.
BaseEffectContext
 Inherited
Called when the effect's position is updated.
BaseEffectContext
Events
 Event Summary Defined By
 InheritedDispatched when the effect completes or is interrupted.BaseEffectContext
Constructor Detail
ParallelEffectContext()Constructor
public function ParallelEffectContext(target:DisplayObject, functions:Array)

Constructor.

Parameters
target:DisplayObject
 
functions:Array