Packageorg.apache.flex.effects
Classpublic class Move
InheritanceMove Inheritance Tween Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements IDocument

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The Move effect animates a UI component's x or y position.



Public Properties
 PropertyDefined By
 InheritedactiveTweens : Object
[static] The list of tweens that are currently playing.
Tween
 InheritedcurrentTime : Number = NaN
[static] Used by effects to get the current effect time tick.
Tween
 Inheritedduration : Number = 3000
Duration of the animation, in milliseconds.
Tween
 InheritedeasingFunction : Function
[write-only] Sets the easing function for the animation.
Tween
 InheritedendValue : Number
Final value of the animation.
Tween
 Inheritedlistener : Object
Object that is notified at each interval of the animation.
Tween
 InheritedstartValue : Number
Initial value of the animation.
Tween
  xFrom : Number
Starting x value.
Move
  xTo : Number
Ending x value.
Move
  yFrom : Number
Starting y value.
Move
  yTo : Number
Ending y value.
Move
Public Methods
 MethodDefined By
  
Move(target:IUIBase = null)
Constructor.
Move
 Inherited
endTween():void
Interrupt the tween, jump immediately to the end of the tween, and invoke the onTweenEnd() callback function.
Tween
  
onTweenEnd(value:Number):void
Move
  
onTweenUpdate(value:Number):void
Move
 Inherited
pause():void
Pauses the effect until you call the resume() method.
Tween
 Inherited
play():void
Stops the tween, ending it without dispatching an event or calling the Tween's endFunction or onTweenEnd().
Tween
 Inherited
resume():void
Resumes the effect after it has been paused by a call to the pause() method.
Tween
 Inherited
reverse():void
Plays the effect in reverse, starting from the current position of the effect.
Tween
 Inherited
seek(playheadTime:Number):void
Advances the tween effect to the specified position.
Tween
  
setDocument(document:Object, id:String = null):void
Move
 Inherited
stop():void
Stops the tween, ending it without dispatching an event or calling the Tween's endFunction or onTweenEnd().
Tween
Public Constants
 ConstantDefined By
 InheritedTWEEN_END : String = tweenEnd
[static] The Tween.TWEEN_END constant defines the value of the event object's type property for a tweenEnd event.
Tween
 InheritedTWEEN_START : String = tweenStart
[static] The Tween.TWEEN_START constant defines the value of the event object's type property for a tweenStart event.
Tween
 InheritedTWEEN_UPDATE : String = tweenUpdate
[static] The Tween.TWEEN_UPDATE constant defines the value of the event object's type property for a tweenUpdate event.
Tween
Property Detail
xFromproperty
public var xFrom:Number

Starting x value. If NaN, the current x value is used

xToproperty 
public var xTo:Number

Ending x value. If NaN, the current x value is not changed

yFromproperty 
public var yFrom:Number

Starting y value. If NaN, the current y value is used

yToproperty 
public var yTo:Number

Ending y value. If NaN, the current y value is not changed

Constructor Detail
Move()Constructor
public function Move(target:IUIBase = null)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Parameters
target:IUIBase (default = null) — Object ID or reference to an object that will have its x and/or y property animated.
Method Detail
onTweenEnd()method
public function onTweenEnd(value:Number):void

Parameters

value:Number

onTweenUpdate()method 
public function onTweenUpdate(value:Number):void

Parameters

value:Number

setDocument()method 
public function setDocument(document:Object, id:String = null):void

Parameters

document:Object
 
id:String (default = null)