getChildIndex(child) → {Number} Returns the index position of a child DisplayObject instance
contains(child) → {Boolean} Determines whether the specified display object is a child of the D
addChild(child) → {DisplayObject}
height : number The height of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.
visibilityChange(event) This method is called when the document visibility is changed. Parameters
new Stage(game) The Stage controls root level display objects upon which everything is displayed.It also handles browser visibility
backgroundColor : number | string Gets and sets the background color of the stage. The color can be given as a number: 0xff0000
checkVisibility() Starts a page visibility event listener running, or window.onpagehide/onpageshow if not supported by the browser.
setBackgroundColor(color) Sets the background color for the Stage. The color can be given as a hex string ('#RRGGBB')
Page 1 of 4