| Package | graphics.process.display |
| Class | public class MoveTo |
| Inheritance | MoveTo Task Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | finishIt : Signaler
This signal emit when the notifyFinished method is invoked. | Task | |
![]() | logger : Logger
Determinates the internal Logger reference of this Loggable object. | Task | |
![]() | phase : String [read-only]
The current phase of the action. | Task | |
![]() | running : Boolean [read-only]
Indicates true if the process is in progress. | Task | |
![]() | startIt : 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 | ||
| Method | Defined 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 | ||
![]() | isLocked():Boolean
Returns true if the object is locked. | Task | |
![]() | lock():void
Locks the object. | Task | |
![]() | notifyFinished():void
Notify an ActionEvent when the process is finished. | Task | |
![]() | notifyStarted():void
Notify an ActionEvent when the process is started. | Task | |
run(... arguments):void [override]
Run the process. | MoveTo | ||
![]() | unlock():void
Unlocks the display. | Task | |
| target | property |
public var target:DisplayObjectThe DisplayObject reference to move.
| x | property |
public var x:NumberThe x position of the target when the task is running. If this component is null the x position is ignored.
| y | property |
public var y:NumberThe y position of the target when the task is running. If this component is null the y position is ignored.
| z | property |
public var z:NumberThe z position of the target when the task is running. If this component is null the z position is ignored.
| MoveTo | () | Constructor |
public function MoveTo(target:DisplayObject = null, x:Number, y:Number, z:Number)Creates a new MoveTo instance.
Parameterstarget: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.
|
| 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):voidRun the process.
Parameters
... arguments |