Packagegraphics.process.display
Classpublic class MoveTo
InheritanceMoveTo Inheritance Task Inheritance Object

This process move a DisplayObject in a specific x,y,z position.



Public Properties
 PropertyDefined By
 InheritedfinishIt : Signaler
This signal emit when the notifyFinished method is invoked.
Task
 Inheritedlogger : Logger
Determinates the internal Logger reference of this Loggable object.
Task
 Inheritedphase : String
[read-only] The current phase of the action.
Task
 Inheritedrunning : Boolean
[read-only] Indicates true if the process is in progress.
Task
 InheritedstartIt : Signaler
This signal emit when the notifyStarted method is invoked.
Task
  target : DisplayObject
The DisplayObject reference to move.
MoveTo
  x : Number
The x position of the target when the task is running.
MoveTo
  y : Number
The y position of the target when the task is running.
MoveTo
  z : Number
The z position of the target when the task is running.
MoveTo
Public Methods
 MethodDefined By
  
MoveTo(target:DisplayObject = null, x:Number, y:Number, z:Number)
Creates a new MoveTo instance.
MoveTo
  
clone():*
[override] Returns a shallow copy of this object.
MoveTo
 Inherited
isLocked():Boolean
Returns true if the object is locked.
Task
 Inherited
lock():void
Locks the object.
Task
 Inherited
Notify an ActionEvent when the process is finished.
Task
 Inherited
Notify an ActionEvent when the process is started.
Task
  
run(... arguments):void
[override] Run the process.
MoveTo
 Inherited
unlock():void
Unlocks the display.
Task
Protected Methods
 MethodDefined By
 Inherited
setRunning(b:Boolean):void
Changes the running property value.
Task
Property Detail
targetproperty
public var target:DisplayObject

The DisplayObject reference to move.

xproperty 
public var x:Number

The x position of the target when the task is running. If this component is null the x position is ignored.

yproperty 
public var y:Number

The y position of the target when the task is running. If this component is null the y position is ignored.

zproperty 
public var z:Number

The z position of the target when the task is running. If this component is null the z position is ignored.

Constructor Detail
MoveTo()Constructor
public function MoveTo(target:DisplayObject = null, x:Number, y:Number, z:Number)

Creates a new MoveTo instance.

Parameters
target:DisplayObject (default = null) — The DisplayObject reference to move.
 
x:Number (default = NaN) — The x position of the target when the task is running. If this component is null the x position is ignored.
 
y:Number (default = NaN) — The y position of the target when the task is running. If this component is null the y position is ignored.
 
z:Number (default = NaN) — The z position of the target when the task is running. If this component is null the z position is ignored.
Method Detail
clone()method
override public function clone():*

Returns a shallow copy of this object.

Returns
* — a shallow copy of this object.
run()method 
override public function run(... arguments):void

Run the process.

Parameters

... arguments