# Having one swf load completely before another comes in

**URL:** https://forum.kirupa.com/t/having-one-swf-load-completely-before-another-comes-in/105313
**Category:** Uncategorized
**Created:** [March 24, 2004, 11:58pm UTC](https://forum.kirupa.com/t/having-one-swf-load-completely-before-another-comes-in/105313 "2004-03-24T23:58:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![njdboy](https://avatars.discourse-cdn.com/v4/letter/n/b19c9b/32.png) [@njdboy](https://forum.kirupa.com/u/njdboy)
#### Post date: [March 24, 2004, 11:58pm UTC](https://forum.kirupa.com/t/having-one-swf-load-completely-before-another-comes-in/105313/1 "2004-03-24T23:58:58Z")

</div>

I have searched and searched but I cannot find the answer to this, if someone can please help me out I would appreciate it.

I have two external swf’s. And a button on the main page. I want it so when I click the button, the first swf loads completely, and then the second swf loads on top of it.

Here is the code I have to load both, I know I need something in between them so that the second doesn’t load until the first one is done, but I can’t seem to find it. I tried \_currentframe as well with no luck. Maybe I was doing it wrong.

```php

on (release) {
		_root.bar_expand.loadMovie("bar_expand_screens.swf");
        
        _root.player.loadMovie("screens.swf");
		}

```
