머리가 나뻐서 삽질 SAP(Study And Programming)
배열섞기 (splice and push) var oriArr:Array = new Array(1,2,3,4,5); var tempArr:Array = new Array(); function shuffle() { var totalNum:int = oriArr.length; tempArr = oriArr.splice(0,totalNum); for (var i:uint = 0; i