//使用正则表达式判断是否为数字
public function isNumeric(src:String):Boolean{
if (this.isEmpty(src)) return false;
var regx:RegExp = /^[-+]?/d*/.?/d+(?:[eE][-+]?/d+)?$/;
return regx.test(src);
}
/**
* 判断空 字符串是否是
*/
public function isEmpty(str:String):Boolean{
if(str == null)return true;
str = StringUtil.trim(str);
if(str == null || str.length<=0)return true;
return false;
}