var arr1:Arry = new Array("上","下","左","右");
var arr2:Array = new Array();
/*arr2[0] = "上";
arr2[1] = "下";
arr2[2] = "左";
arr2[3] = "右";
arr2[0] = arr1[3];
arr2[1] = arr1[2];
arr2[2] = arr1[1];
arr2[3] = arr1[0];
arr2[0] = arr1[arr1.length-1-0];
arr2[1] = arr1[arr1.length-0-1];
arr2[2] = arr1[arr1.length-1-2];
arr2[3] = arr1[arr1.length-1-3];*/
for (var i:int = 0; i<=arr1;i++)
{
arr2[i] = arr1[arr1.length-1-i];
}
trace (arr2);/*trace的结果是:右,左,下,上,