var arr:Array = new Array();
var m:int;
for(var i:int = 0; i < 50;i++)
{
arr.push(i);
}
while(arr.length > 0)
{
var n:int = Math.floor(Math.random()*arr.length);
m = arr[n];
arr.splice(n,1);
trace(m)
}
var arr:Array = new Array();
var m:int;
for(var i:int = 0; i < 50;i++)
{
arr.push(i);
}
while(arr.length > 0)
{
var n:int = Math.floor(Math.random()*arr.length);
m = arr[n];
arr.splice(n,1);
trace(m)
}