 import mx.styles.IStyleClient;
 import mx.styles.StyleManager;
 import mx.events.EventListenerRequest;
+import mx.events.FlexChangeEvent;
 import mx.events.InvalidateRequestData;
 import mx.events.InterManagerRequest;
 import mx.events.ResizeEvent;

	private var _swfBridgeGroup:ISWFBridgeGroup;
	
	
	public function get swfBridgeGroup():ISWFBridgeGroup
	{
		if (topLevel)
			return _swfBridgeGroup;
		else if (topLevelSystemManager)
			return topLevelSystemManager.swfBridgeGroup;
			
		return null;
	}
	
	public function set swfBridgeGroup(bridgeGroup:ISWFBridgeGroup):void
	{
		if (topLevel)
			_swfBridgeGroup = bridgeGroup;
		else if (topLevelSystemManager)
			SystemManager(topLevelSystemManager).swfBridgeGroup = bridgeGroup;
					
	}
	
	//--------------------------------------------------------------------------
	//  screen
	//--------------------------------------------------------------------------


	 */
	public function removeChildBridge(bridge:IEventDispatcher):void
	{
        // dispatch message that we are removing a bridge.
        dispatchEvent(new FlexChangeEvent(FlexChangeEvent.REMOVE_CHILD_BRIDGE, false, false, bridge));

        var fm:IFocusManager = IFocusManager(bridgeToFocusManager[bridge]);
        fm.removeSWFBridge(bridge);
   		swfBridgeGroup.removeChildBridge(bridge);
