Packagefeathers.motion.effectClasses
Interfacepublic interface IMoveEffectContext extends IEffectContext, IFeathersEventDispatcher
Implementors TweenMoveEffectContext

Gives a component the ability to control a move effect.

See also

Effects and animation for Feathers components


Public Properties
 PropertyDefined By
 Inheritedduration : Number
[read-only] The duration of the effect, in seconds.
IEffectContext
  newX : Number
The new x position of the target.
IMoveEffectContext
  newY : Number
The new y position of the target.
IMoveEffectContext
  oldX : Number
The old x position of the target.
IMoveEffectContext
  oldY : Number
The old y position of the target.
IMoveEffectContext
 Inheritedposition : Number
The position of the effect, from 0 to 1.
IEffectContext
 Inheritedtarget : DisplayObject
[read-only] The target of the effect.
IEffectContext
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function):void
Adds a listener for an event type.
IFeathersEventDispatcher
 Inherited
dispatchEvent(event:Event):void
Dispatches an event to all listeners added for the specified event type.
IFeathersEventDispatcher
 Inherited
dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void
Dispatches an event from the pool with the specified to all listeners for the specified event type.
IFeathersEventDispatcher
 Inherited
hasEventListener(type:String, listener:Function = null):Boolean
Checks if a listener has been added for the specified event type.
IFeathersEventDispatcher
 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().
IEffectContext
 Inherited
pause():void
Pauses an effect that is currently playing.
IEffectContext
 Inherited
play():void
Starts playing the effect from its current position to the end.
IEffectContext
 Inherited
Starts playing the effect from its current position back to the beginning (completing at a position of 0).
IEffectContext
 Inherited
removeEventListener(type:String, listener:Function):void
Removes a listener for an event type.
IFeathersEventDispatcher
 Inherited
removeEventListeners(type:String = null):void
Removes all listeners for an event type.
IFeathersEventDispatcher
 Inherited
stop():void
Stops the effect at its current position and forces Event.COMPLETE to dispatch.
IEffectContext
 Inherited
toEnd():void
Advances the effect to the end and forces Event.COMPLETE to dispatch.
IEffectContext
Property Detail
newXproperty
newX:Number

The new x position of the target.


Implementation
    public function get newX():Number
    public function set newX(value:Number):void
newYproperty 
newY:Number

The new y position of the target.


Implementation
    public function get newY():Number
    public function set newY(value:Number):void
oldXproperty 
oldX:Number

The old x position of the target.


Implementation
    public function get oldX():Number
    public function set oldX(value:Number):void
oldYproperty 
oldY:Number

The old y position of the target.


Implementation
    public function get oldY():Number
    public function set oldY(value:Number):void