 					if (_swfBridge)
 					{
 						var request:SWFBridgeEvent = new SWFBridgeEvent(
-																	SWFBridgeEvent.NOTIFY_BEFORE_UNLOAD,
+																	SWFBridgeEvent.BRIDGE_APPLICATION_UNLOADING,
 																	false, false,
 																	_swfBridge);
 						 _swfBridge.dispatchEvent(request);

			var bridge:IEventDispatcher = swfBridge;
			if (bridge)
			{
				var request:SizeRequest = new SizeRequest(SizeRequest.GET_SIZE_REQUEST);
				bridge.dispatchEvent(request);
				pt.x = request.width;
				pt.y = request.height;
			}
		}
	

   		if (loaderInfo.contentType == "application/x-shockwave-flash")
   		{
			var bridge:EventDispatcher = loaderInfo.sharedEvents;
			bridge.addEventListener(SWFBridgeEvent.BRIDGE_NEW_APPLICATION, 
			 					  initSystemManagerCompleteEventHandler);
   		}
	}
