Whiz-DOM Wiki
Formerly CraveJs, it's for creating JavaScript applications and games.
Status: Abandoned
Brought to you by:
winstontamblyn
package | crv.display |
---|---|
extends | crv.display.InteractiveObject |
inherits | InteractiveObject → DisplayObject → EventDispatcher → Class |
This class provides methods for adding, removing, and indexing DisplayObjects from the display list. |
Properties | ||
---|---|---|
numChildren | number | [read-only] Returns the number of children currently contained in the object. |
Methods |
---|
addChild(child:DisplayObject):DisplayObject
Adds the child to the container. |
addChildAt(child:DisplayObject, index:number):DisplayObject
Adds the child to the container at the specified index. |
contains(child:DisplayObject):boolean
Returns a boolean value that tells whether or not the child was found in the container. |
getChildAt(index:number):DisplayObject
Returns the child found at the specified index. |
getChildByName(name:string):DisplayObject
Returns a contained object with the specified name. |
getChildIndex(child:DisplayObject):DisplayObject
Returns the index of the child within the container object. |
removeChild(child:DisplayObject):DisplayObject
Removes the child from it's container. |
removeChildAt(index:number):DisplayObject
Removes the child found at the specified index. |