Packagegraphics.process.display
Classpublic class SetChildIndex
InheritanceSetChildIndex Inheritance Task Inheritance Object

Changes the position of an existing child in the display object container. This affects the layering of child objects.



Public Properties
 PropertyDefined By
  child : DisplayObject
The child DisplayObject instance for which you want to change the index number.
SetChildIndex
 InheritedfinishIt : Signaler
This signal emit when the notifyFinished method is invoked.
Task
  index : uint
The resulting index number for the child display object.
SetChildIndex
 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 : DisplayObjectContainer
The DisplayObjectContainer reference.
SetChildIndex
Public Methods
 MethodDefined By
  
SetChildIndex(target:DisplayObjectContainer = null, child:DisplayObject = null, index:uint = 0)
Creates a new SetChildIndex instance.
SetChildIndex
  
clone():*
[override] Returns a shallow copy of this object.
SetChildIndex
 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.
SetChildIndex
 Inherited
unlock():void
Unlocks the display.
Task
Protected Methods
 MethodDefined By
 Inherited
setRunning(b:Boolean):void
Changes the running property value.
Task
Property Detail
childproperty
public var child:DisplayObject

The child DisplayObject instance for which you want to change the index number.

indexproperty 
public var index:uint

The resulting index number for the child display object.

targetproperty 
public var target:DisplayObjectContainer

The DisplayObjectContainer reference.

Constructor Detail
SetChildIndex()Constructor
public function SetChildIndex(target:DisplayObjectContainer = null, child:DisplayObject = null, index:uint = 0)

Creates a new SetChildIndex instance.

Parameters
target:DisplayObjectContainer (default = null) — The DisplayObjectContainer reference.
 
child:DisplayObject (default = null) — The child DisplayObject instance for which you want to change the index number.
 
index:uint (default = 0) — The resulting index number for the child display object.
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