var type:Array = new Array(); for (var i:Number = 1; i < = 5; i++) { type[i] = this["item2_"+i]; listA.addItem({label:type[i]}); }