for (var i:Number = 1;i <= 5; i++){ _root['mc'+i]['array'+i] = new Array(); array = array.concat(_root['mc'+i]['array'+i]); }