Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

senocular.com ActionScript Library

isWhite.as

1
2
3
4
5
// determines if a string is made up of white space
// used by TrimWhiteSpace
String.prototype.isWhite = function(){
	return !isNaN(" "+this+" 0");
}