  	 */
  	private function nativeWindow_activateHandler(event:Event):void
  	{
- 		dispatchEvent(new Event("windowActivate"));
+ 		dispatchEvent(new AIREvent(AIREvent.APPLICATION_ACTIVATE));
  	}
 
  	/**

 	 */
 	private function nativeWindow_deactivateHandler(event:Event):void
 	{
 		dispatchEvent(new Event("windowDeactivate"));
 	}
 	
    /**

        // AIR xml file, we fabricate an activate event, since Flex 
        // comes in late to the show.
        if (systemManager.stage.nativeWindow.active) 
            dispatchEvent(new AIREvent(AIREvent.APPLICATION_ACTIVATE));
                        
        systemManager.stage.nativeWindow.addEventListener(
            "activate", nativeWindow_activateHandler, false, 0, true);
