# Dynamic Looping images

**URL:** https://forum.kirupa.com/t/dynamic-looping-images/140366
**Category:** Uncategorized
**Created:** [March 10, 2005, 1:54pm UTC](https://forum.kirupa.com/t/dynamic-looping-images/140366 "2005-03-10T13:54:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![marathon\_ben](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@marathon\_ben](https://forum.kirupa.com/u/marathon_ben)
#### Post date: [March 10, 2005, 1:54pm UTC](https://forum.kirupa.com/t/dynamic-looping-images/140366/1 "2005-03-10T13:54:55Z")

</div>

I want to dynamically load some images, and have them scroll across the screen in a loop. The solution I’ve come up with is to create a MC, load and display the images in that, and then tween the MC across the stage. Here’s how I’m loading the images:

```auto
for(n = 0; n < 14; n++){
	_this.createEmptyMovieClip("image"+n, 200+n);
	_this["image"+n] ._x = n*700;
	_this["image"+n] ._y = 0;
	loadMovie("home/0"+(n+1)+".jpg", ["image"+n]);
}

```

I’m not sure if it’s not loading the images at all or just not displaying them. I’m certain I’ve got my syntax wrong somehow, but I’m not sure where. Any help would be appreciated.

Thanks,  
-b
