for (var i:int = 0; i < itemsAmount; i++) { var loader:Loader = new Loader(); loader.load(new URLRequest(imagesArray[i])); this.addChild(loader); }