<?xml version="1.0" encoding="utf-8"?>
<mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" 
    xmlns:local="*"
    layout="absolute" 
    backgroundColor="#000000" 
    backgroundGradientColors="[#000000,#000000]"
    applicationComplete="init()"
    frameRate="50" 
    width="800"
    height="550"
    viewSourceURL="srcview/index.html">
    
    <mx:Script>
        <![CDATA[
            /**
             * we have to add this on applicationComplete
             * rather than including it via mxml because the 
             * geometryWars class uses the stage to place the ship
             * and the stage isn't setup until applicationComplete
             **/
            private function init():void{
                var b:BaseContainer = new BaseContainer();
                b.width = 750;
                b.height = 525;
                b.setStyle('backgroundColor',0x000000);
                
                this.addChild(b);
            }
        ]]>
    </mx:Script>
</mx:Application>