25.15. The Layer Object
new Layer(width) This constructor creates a new Layer object. You can specify its contents by setting the src property or by using the load method.
new Layer(width, parentLayer) This constructor builds a layer that is a child of the one specified.