 			for (var i:int = 0; i < recordKeys.length; i++)
 			{
 				var recordKey:IQualifiedKey = recordKeys[i] as IQualifiedKey;
-				_imageURL = imageURL.getValueFromKey(recordKey, String) as String;
+				var _imageURL:String = imageURL.getValueFromKey(recordKey, String) as String;
 				var _imageSize:Number = imageSize.getValueFromKey(recordKey, Number);
 				if (isNaN(_imageSize))
 					_imageSize = 32;

		private static var _missingImageClass:Class;
		private static const _missingImage:BitmapData = Bitmap(new _missingImageClass()).bitmapData;

		private var _imageURL:String;
		
		/**
		 * Draws the graphics onto BitmapData.
		 */

		{
			trace("Error downloading image:", ObjectUtil.toString(event.message), token);
			
			_urlToImageMap[token] = _missingImage;
			getCallbackCollection(this).triggerCallbacks();
		}
	}
