 //--------------------------------------
 
 /**
- *  Active State which is used when the TitleWindow
- *  or any of its children are focused.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[SkinState("active")]
-
-/**
- *  Active State with control bar present.
+ *  Inactive State which is used for a TitleWindow
+ *  when it or all of its children are not in focus.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[SkinState("inactive")]
+
+/**
+ *  Inactive State with control bar present.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[SkinState("activeWithControlBar")]
+[SkinState("inactiveWithControlBar")]
 
 [IconFile("TitleWindow.png")]
 

	override protected function getCurrentSkinState():String
	{
		// In focus window is the active window.
		if (enabled && isPopUp && active)
		{
			var state:String = "active";
			
			if (controlBarGroup)
			{

		
		systemManager.deployMouseShields(false);
		
		// Check to see that a move actually occurred and that the
		// user did not just click on the moveArea
		if (startBounds)
		{
			// Dispatch "windowMoveEnd" event with the starting bounds and current bounds.
			var endEvent:TitleWindowBoundsEvent =
				new TitleWindowBoundsEvent(TitleWindowBoundsEvent.WINDOW_MOVE_END,
										   false, false, startBounds,
										   new Rectangle(x, y, width, height));
			dispatchEvent(endEvent);
			startBounds = null;
		}
		
		offsetX = NaN;
		offsetY = NaN;
	}

	//----------------------------------
	//  Active Window Handlers and helper methods
	//---------------------------------- 
