code: function ImageLoader (loadItem, preferXHR) {
  		this.AbstractLoader_constructor(loadItem, preferXHR, createjs.AbstractLoader.IMAGE);
  
  		// public properties
  		this.resultFormatter = this._formatResult;
  
  		// protected properties
  		this._tagSrcAttribute = "src";
  
  		// Check if the preload item is already a tag.
  		if (createjs.RequestUtils.isImageTag(loadItem)) {
  			this._tag = loadItem;
  		} else if (createjs.RequestUtils.isImageTag(loadItem.src)) {
  			this._tag = loadItem.src;
  		} else if (createjs.RequestUtils.isImageTag(loadItem.tag)) {
  			this._tag = loadItem.tag;
  		}
  
  		if (this._tag != null) {
  			this._preferXHR = false;
  		} else {
  			this._tag = document.createElement("img");
  		}
  
  		this.on("initialize", this._updateXHR, this);
  	}
docs: constructor 
  A loader for image files.
  @class ImageLoader
  @param {LoadItem|Object} loadItem
  @param {Boolean} preferXHR
  @extends AbstractLoader
  @constructor