[code] //取数组最大值
public static function getMax(arr:Array):* {
var a:Array=new Array();
a=arr.slice();
for (var i:int=0; i