# Loading Multple Movieclips

**URL:** https://forum.kirupa.com/t/loading-multple-movieclips/197556
**Category:** flash
**Created:** [August 17, 2006, 11:49am UTC](https://forum.kirupa.com/t/loading-multple-movieclips/197556 "2006-08-17T11:49:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![skriblez](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@skriblez](https://forum.kirupa.com/u/skriblez)
#### Post date: [August 17, 2006, 11:49am UTC](https://forum.kirupa.com/t/loading-multple-movieclips/197556/1 "2006-08-17T11:49:33Z")

</div>

Hi, i’ve searched the forum and i couldnt find an answer.

Anyway i want to try load multiple movieclips using a for loop and displaying them in different spots.

```auto
 for(i = 1; i < 5; i++){
    createEmptyMovieClip(["target"+i] , i);
    loadMovie("stub1.swf", ["target"+i]);
    _root["target"+i]._x = position;
    position = position + 250;
} 

```

First of all , how can i change that “stub1.swf” to change its value like stub1.swf, stub2.swf stub3.swf etc. Also, it doesnt seem to create multiple movieclips; it only makes the one.

Thanks in advance

- skriblez
