Packagefeathers.motion.effectClasses
Interfacepublic interface IResizeEffectContext extends IEffectContext, IFeathersEventDispatcher
Implementors TweenResizeEffectContext

Gives a component the ability to control a resize 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
  newHeight : Number
The new height of the target.
IResizeEffectContext
  newWidth : Number
The new width of the target.
IResizeEffectContext
  oldHeight : Number
The old height of the target.
IResizeEffectContext
  oldWidth : Number
The old width of the target.
IResizeEffectContext
 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
newHeightproperty
newHeight:Number

The new height of the target.


Implementation
    public function get newHeight():Number
    public function set newHeight(value:Number):void
newWidthproperty 
newWidth:Number

The new width of the target.


Implementation
    public function get newWidth():Number
    public function set newWidth(value:Number):void
oldHeightproperty 
oldHeight:Number

The old height of the target.


Implementation
    public function get oldHeight():Number
    public function set oldHeight(value:Number):void
oldWidthproperty 
oldWidth:Number

The old width of the target.


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