 import flash.events.MouseEvent;
 import flash.events.TimerEvent;
 import flash.geom.Point;
+import flash.system.Capabilities;
 import flash.utils.getTimer;
 import flash.utils.setTimeout;
 


	private var eventManager:EventManager;
	private var eventType:String;
	
	/**
	 * This is the _preCallback

	private function captureListener(event:Event):void
	{
		// avoid handling redundant events generated by SystemManager
		if (event.cancelable && cancelable)
			return;
		
		// detect deactivated framerate (when app is hidden)
