AS引用
package
{
import flash.display.Sprite;
public class OneHello extends Sprite
{
public function OneHello()
{
var i:Array=new Array(1,2,3);
var j:Array=i;
trace(j);
trace("----------------")
j=new Array(5,6,7);
trace(j);
trace("----------------")
j[0]=100;
trace(i,j);
}
}
}
-----------------
1,2,3
----------------
5,6,7
----------------
1,2,3 100,6,7