MooTools Asset.image class

AssetImage: function(preload){
	var image = new Asset.image(this.imageResponse, {
	onload: function(){
			if(!preload){this.dataImage();}
		}.bind(this)
	});
			
	if(!preload){
		this.currentImage = image;
	}
},
		
dataImage: function(){
	this.popW= this.currentImage.width;
	this.popH = this.currentImage.height;
}

Related Posts

MooTools Asset.image, MooTools Full Screen Background - Asset.image