 
 		public function get name():String
 		{
+			validate();
+			
 			if (_isXML)
 				return XML(value).@name;
 			else
-				return null;
+				return null;
 		}
 		public function set name(newName:String):void
-		{
+		{
+			validate();
+			
 			if (_isXML)
 			{
 				var xml:XML = XML(value);

		 */
		public function draw(canvas:Canvas, vertical:Boolean):void
		{
			var g:Graphics = canvas.graphics;
			g.clear();
			var n:int = vertical ? canvas.height : canvas.width;

		 * @return A color.
		 */
		public function getColorFromNorm(normValue:Number):Number
		{
			validate();
			
			if (normValue < 0 || normValue > 1 || _colorNodes.length == 0)
				return NaN;
			
