# LOading dynamic images

**URL:** <https://forum.kirupa.com/t/loading-dynamic-images/6653>\
**Category:** flash\
**Created:** [October 13, 2002, 11:24am UTC](https://forum.kirupa.com/t/loading-dynamic-images/6653 "2002-10-13T11:24:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alextait](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@alextait](https://forum.kirupa.com/u/alextait)\
**Post date:** [October 13, 2002, 11:24am UTC](https://forum.kirupa.com/t/loading-dynamic-images/6653/1 "2002-10-13T11:24:36Z")

</div>

Hello…i know there been a lot of poasts on this but none of them help me.

I am duplicating a movie clip called “thumb” on my main timeline.

they are named by number (1 to 233)

within each clip i would like to load an image

* * *

if(\_name != “thumb”){

```
var webby =_name.toString()
var webby="thumb/"+webby;
loadMovie(10.jpg,this);
trace(this)

```

}

* * *

the reason i have put in 10.jpg is just to get it loading one image into all clips.

But its not loading the image into any.

the trace is bringin back each MC’s name fine

when i remove the if(\_name != “thumb”){

it loads the image into the duplicated original MC

so im completely confused.

this is the duplication script on the first frame of my Main timeline

* * *

thumb.\_visible=0;  
var imageTot=233;  
var starty=0;  
var vSpace=30;  
var hSpace=40;  
var rows=10;  
var j=1;  
var k=1;

for(i=1 ; i\<=imageTot ; i++){  
j++;  
duplicateMovieClip(thumb,i+".jpg",i+50);  
\_root[i+".jpg"].\_y=starty+(vSpace_j)  
\_root[i+".jpg"].\_x=startx+(k_hSpace)  
if(j\>rows){  
j=1;  
k++;  
}  
}

* * *

Any help would be appreciated

Alex

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 13, 2002, 1:05pm UTC](https://forum.kirupa.com/t/loading-dynamic-images/6653/2 "2002-10-13T13:05:32Z")

</div>

Welcome!  
Are you using MX or flash 5?

pom 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 14, 2002, 4:35pm UTC](https://forum.kirupa.com/t/loading-dynamic-images/6653/3 "2002-10-14T16:35:10Z")

</div>

got it workin

thanks for looking though pom

:asian:
