# Adding multiple images to stage via the Loader Class

**URL:** <https://forum.kirupa.com/t/adding-multiple-images-to-stage-via-the-loader-class/302355>\
**Category:** Uncategorized\
**Created:** [December 28, 2009, 4:38pm UTC](https://forum.kirupa.com/t/adding-multiple-images-to-stage-via-the-loader-class/302355 "2009-12-28T16:38:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [December 28, 2009, 4:38pm UTC](https://forum.kirupa.com/t/adding-multiple-images-to-stage-via-the-loader-class/302355/1 "2009-12-28T16:38:38Z")

</div>

Hey up - I want to move my multiple externally loaded images a little each time they are added to the stage along the x axis via the Loader class.  
It all works - But HOW do I access the added graphic synatically, so i can change its x pos?! Ive tried picLoader.x … but that’s the Loader - NOT the image…!!! thanks!!

```auto
private function setPics():void
		{
			for(var i:int = 0; i < xItems; i++)
			{
				loadImage(xData.xmlData.image*);
			}
		}

		private function loadImage(url:String)
		{
			picLoader = new Loader();
	picLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,addImage);		
			picLoader.load(new URLRequest(url));
		}
		private function addImage(e:Event):void
		{
			addChild(picLoader); 
		}

```

:insomniac:
