# Loading multiple external swfs

**URL:** <https://forum.kirupa.com/t/loading-multiple-external-swfs/294455>\
**Category:** flash\
**Created:** [August 14, 2009, 6:42am UTC](https://forum.kirupa.com/t/loading-multiple-external-swfs/294455 "2009-08-14T06:42:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neilp123](https://avatars.discourse-cdn.com/v4/letter/n/b2d939/32.png) [@neilp123](https://forum.kirupa.com/u/neilp123)\
**Post date:** [August 14, 2009, 6:42am UTC](https://forum.kirupa.com/t/loading-multiple-external-swfs/294455/1 "2009-08-14T06:42:27Z")

</div>

Hi, i really need some help here!!

I can’t figure out how to load external swf files(9) into my master.swf file one after the other. This is the Actionscript i have written so far…(AS2)

```auto
var myItems:Array = new Array("swf01.swf", "swf02.swf", "swf03.swf", "swf04.swf", "swf05.swf", "swf06.swf", "swf07.swf", "swf08.swf", "swf09.swf");

var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();

myMCL.addListener(myListener);

myMCL.loadClip("myItems[0]", this.getNextHighestDepth());

```

The first swf loads alright into my master swf but i can’t for the life of me work out how to load the rest after each one has finished loading. Don’t know if i need a for loop or what???

Really appreciate any help with this as i have a client waiting and i am sorry if this has already been asked?
