Blend modes in Hype

Here is a short tutorial on how to add blend modes in Hype:

	var modes = ["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"];
	
	for(var a = 0; a < modes.length; a++){
		var mode = modes[a];
		var modeClass = "blend_"+mode;
		var elem = document.getElementsByClassName(modeClass);
		for(var i = 0; i < elem.length; i++){
	   		elem[i].style.mixBlendMode = mode;
   			elem[i].parentNode.style.mixBlendMode = mode;
		}
	}