W3cubDocs

/Haxe Flash

DisplayObjectContainer

package flash.display

extends InteractiveObjectDisplayObjectEventDispatcher

extended by Loader, Sprite, Stage, TextLine

Available on flash

Constructor

new ()

Variables

mouseChildren:Bool

read only numChildren:Int

tabChildren:Bool

read only textSnapshot:TextSnapshot

@:require(flash11_8) stopAllMovieClips:Void ‑> Void

Methods

addChild (child:DisplayObject):DisplayObject

addChildAt (child:DisplayObject, index:Int):DisplayObject

areInaccessibleObjectsUnderPoint (point:Point):Bool

contains (child:DisplayObject):Bool

getChildAt (index:Int):DisplayObject

getChildByName (name:String):DisplayObject

getChildIndex (child:DisplayObject):Int

getObjectsUnderPoint (point:Point):Array<DisplayObject>

removeChild (child:DisplayObject):DisplayObject

removeChildAt (index:Int):DisplayObject

@:value({ endIndex : 2147483647, beginIndex : 0 }) @:require(flash11) removeChildren (beginIndex:Int = 0, endIndex:Int = 2147483647):Void

setChildIndex (child:DisplayObject, index:Int):Void

swapChildren (child1:DisplayObject, child2:DisplayObject):Void

swapChildrenAt (index1:Int, index2:Int):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/display/DisplayObjectContainer.html