0-9之间随机 var random1:Number = Math.floor(Math.random() * 10); 1-10之间随机 var random1:Number = Math.floor(Math.random() * 10) + 1; 相关文章: