# Include a 2nd mov. Need to specify load order. HELP!

**URL:** https://forum.kirupa.com/t/include-a-2nd-mov-need-to-specify-load-order-help/366
**Category:** flash
**Created:** [July 15, 2002, 4:55pm UTC](https://forum.kirupa.com/t/include-a-2nd-mov-need-to-specify-load-order-help/366 "2002-07-15T16:55:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Beaster](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@Beaster](https://forum.kirupa.com/u/Beaster)
#### Post date: [July 15, 2002, 4:55pm UTC](https://forum.kirupa.com/t/include-a-2nd-mov-need-to-specify-load-order-help/366/1 "2002-07-15T16:55:20Z")

</div>

Hi,

I’m making a site, and including a small plug for web dev. I’ve created a small .swf as a plug, but I want to start loading it once the vital (main site) content is loaded.

Does anyone know how to do this? Is it even necessary to specify this?

---

<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: [July 16, 2002, 2:56am UTC](https://forum.kirupa.com/t/include-a-2nd-mov-need-to-specify-load-order-help/366/2 "2002-07-16T02:56:01Z")

</div>

I hope I’m understanding what you want correctly, and that is to load a .swf in once your main part of your movie is finished loading. The code should look something like this.

OnClipEvent(enterFrame)  
if(\_root.\_loadedframes \> 0 && \_root.\_loadedframes == \_root.\_totalframes)  
loadMovieNum(“external.swf”, 1)  
gotoAndPlay(“beginMovie”)  
else  
//Show progress in dynamic text fields, /1024 to convert to KB  
loaded = \_root.getBytesLoaded()/1024  
total = \_root.getBytesTotal()/1024

Hopefully this code will give you a better idea of what you want to do, if not post again.

Good Luck

Kyle
