         }
 
         //  if (topLevel && stage)
-            stage.addEventListener(Event.RESIZE, Stage_resizeHandler, false, 0, true);
+        stage.addEventListener(Event.RESIZE, Stage_resizeHandler, false, 0, true);
 
         var app:IUIComponent;
         // Create a new instance of the toplevel class

    {
        initialized = true;

        if (!parent)
            return;
        

    {
    }

    //--------------------------------------------------------------------------
    //
    //  Event Handlers
    //
    //--------------------------------------------------------------------------
    
    /**
     *  NOTE: The keyDownHandler in SystemManager is not needed in AIR because
     *  AIR keyDown events are cancelable.
     */ 
    
    /**
     *  @private 
     *  We want to re-dispatch 
     *  mouse events that are cancellable.  Currently we are only doing 
     *  this for a few mouse events and not all of them (MOUSE_WHEEL and 
     *  MOUSE_DOWN).
     */
    private function mouseEventHandler(e:MouseEvent):void
    {
        if (!e.cancelable)
        {
            e.stopImmediatePropagation();
            var cancelableEvent:MouseEvent = new MouseEvent(e.type, e.bubbles, 
                true, e.localX,
                e.localY, e.relatedObject, e.ctrlKey, e.altKey,
                e.shiftKey, e.buttonDown, e.delta, 
                e.commandKey, e.controlKey, e.clickCount);
            
            e.target.dispatchEvent(cancelableEvent);               
        }
    }
    
    
}
}
