 		public static var mouseReleased:Boolean = false;
 		
 		/**
+		 * If the mouse wheel was moved this frame.
+		 */
+		public static var mouseWheel:Boolean = false; 
+		
+		/**
+		 * If the mouse wheel was moved this frame, this was the delta.
+		 */
+		public static function get mouseWheelDelta():int
+		{
+		    if (mouseWheel)
+		    {
+		        mouseWheel = false;
+		        return _mouseWheelDelta;
+		    } else {
+		        return 0;
+		    }
+		}  
+		
+		/**
 		 * X position of the mouse on the screen.
 		 */
 		public static function get mouseX():int

				FP.stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp);
				FP.stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
				FP.stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUp);
				_enabled = true;
			}
		}

			mouseUp = true;
			mousePressed = false;
			mouseReleased = true;
		}
		
		/** @private Event handler for mouse wheel events */
		private static function onMouseWheel(e:MouseEvent):void
		{
		    mouseWheel = true;
		    _mouseWheelDelta = e.delta;
		}
		
		// Max amount of characters stored by the keystring.
