# Only load swf AFTER the main swf has loaded?

**URL:** https://forum.kirupa.com/t/only-load-swf-after-the-main-swf-has-loaded/152587
**Category:** flash
**Created:** [June 26, 2005, 3:09am UTC](https://forum.kirupa.com/t/only-load-swf-after-the-main-swf-has-loaded/152587 "2005-06-26T03:09:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sirenetta1](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Sirenetta1](https://forum.kirupa.com/u/Sirenetta1)
#### Post date: [June 26, 2005, 3:09am UTC](https://forum.kirupa.com/t/only-load-swf-after-the-main-swf-has-loaded/152587/1 "2005-06-26T03:09:07Z")

</div>

Hello!

Quick question. I have a main.swf that first loads and then 2.swf that should load after it. At the moment, they both load at the same time, which makes the page look bad. ☹

What code can I use so that 2.swf ONLY loads after the main.swf has loaded?

Code to load in the 2.swf

```auto
stop();
nextMovie="2.swf";
loadMovieNum(nextMovie,1);

```
