【AS3代码】随机函数 0-9之间随机var random1:Number = Math.floor(Math.random() * 10);1-10之间随机var random1:Number = Math.floor(Math.random() * 10) + 1;