         // 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));
+            dispatchEvent(new AIREvent(AIREvent.WINDOW_ACTIVATE));
                         
         systemManager.stage.nativeWindow.addEventListener(
             "activate", nativeWindow_activateHandler, false, 0, true);

/**
 *  Dispatched after this application window has been activated.
 *
 *  @eventType mx.events.AIREvent.WINDOW_DEACTIVATE
 */
[Event(name="windowActivate", type="mx.events.AIREvent")]


 	 */
 	private function nativeWindow_activateHandler(event:Event):void
 	{
 		dispatchEvent(new AIREvent(AIREvent.WINDOW_ACTIVATE));
 	}

 	/**
