setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy
tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.
removeChildAt(index) → {DisplayObject}
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
width : number The width of the sprite, setting this will actually modify the scale to achieve the value set
ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children
addChildAt(child, index) → {DisplayObject}
new Sprite(texture) The Sprite object is the base for all textured objects that are rendered to the screen Parameters
height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
Page 2 of 3