     private function stageEventHandler(event:Event):void
     {
         if (event.target is Stage)
+            // dispatch them from mouseCatcher so capture phase listeners on 
+            // systemManager will work
             mouseCatcher.dispatchEvent(event);
     }
 


        // This listener is intended to run before any other KeyboardEvent listeners
        // so that it can redispatch a cancelable=true copy of the event. 
        addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true, 1000);
        addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler, true, 1000);

        var docFrame:int = (totalFrames == 1)? 0 : 1;
		addEventListener(Event.ENTER_FRAME, docFrameListener);

import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.FocusEvent;
import flash.events.KeyboardEvent;
import flash.events.EventDispatcher;
import flash.events.EventPhase;
