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