Stage Class
A Stage represents the root of the display tree. Everything connected to the stage is rendered
Constructor
Stage
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        backgroundColor
- 
                    
                        interactive
Parameters:
- 
                    
                        backgroundColorNumberthe background color of the stage 
- 
                    
                        interactiveBooleanenable / disable interaction (default is false) 
Item Index
Methods
addChildAt
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        DisplayObject
- 
                    
                        index
Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown
Parameters:
- 
                    
                        DisplayObjectDisplayObject
- 
                    
                        indexNumber
removeChild
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        DisplayObject
Removes a child from the container.
Parameters:
- 
                    
                        DisplayObjectDisplayObject
setBackgroundColor
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        backgroundColor
Parameters:
- 
                    
                        backgroundColorNumber
updateTransform
    
        ()
    
    
    
    
    
    
    
    
    
    Properties
alpha
    Number
    
    
    
    
    
    The opacity of the object.
children
    Array
    
    
    
    
    
    [read-only] The of children of this container.
parent
    DisplayObjectContainer
    
    
    
    
    
    [read-only] The display object container that contains this display object.
rotation
    Number
    
    
    
    
    
    The rotation of the object in radians.
stage
    Stage
    
    
    
    
    
    [read-only] The stage the display object is connected to, or undefined if it is not connected to the stage.
visible
    Boolean
    
    
    
    
    
    The visibility of the object.
