摘要:
1 import flash.utils.ByteArray; 2 var a:Array=["a","b"]; 3 var b:Array=[]; 4 b=clone(a); 5 trace(b); 6 7 function clone(source:Object):* 8 { 9 var myBA:ByteArray = new ByteArray();10 myBA.writeObject(source);11 myBA.position = 0;12 return(myBA.readObject());13 } 阅读全文
posted @ 2013-01-08 19:06 股墓山庄庄主 阅读(725) 评论(0) 推荐(0) 编辑