 			_graphBuffer.setPixel(240 - 1, 46 - (MIN(46, SQRT(SQRT(_mem * 5000))) - 2), _colorMem);
 			_graphBuffer.setPixel(240 - 1, 46 - (_glRenderMS >> 1), _colorEtc3);
 			_graphBuffer.setPixel(240 - 1, 46 - (_stageMS >> 1), _colorEtc2);
-			_graphBuffer.setPixel(240 - 1, 46 - MIN(46, (_stageFPS / _stage.frameRate) * 46), _colorFPS);
+			_graphBuffer.setPixel(240 - 1, 46 - MIN(46, (_stageFPS / _stageFrameRate) * 46), _colorFPS);
 			_graphBuffer.unlock();
 		}
 		

			if (_statsDelay++ < 10) return;
			_statsDelay = 0;
			
			_fpsTF.text = "FPS:" + _stageFPS + "/" + _stage.frameRate;
			_mem1TF.text = "MEM:" + _mem.toFixed(2);
			_mem2TF.text = "MAX:" + _memMax.toFixed(2);
			_mem3TF.text = "PRC:" + _memPRC.toFixed(2);

		private function onClick(e:MouseEvent):void
		{
			(mouseY / height > .5) ? --_stage.frameRate : ++_stage.frameRate;
			_stageFrameRate = _stage.frameRate;
		}
		
		
