# Load external SWF on top on another

**URL:** https://forum.kirupa.com/t/load-external-swf-on-top-on-another/121678
**Category:** Uncategorized
**Created:** [September 5, 2004, 3:31pm UTC](https://forum.kirupa.com/t/load-external-swf-on-top-on-another/121678 "2004-09-05T15:31:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bjory](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@bjory](https://forum.kirupa.com/u/bjory)
#### Post date: [September 5, 2004, 3:31pm UTC](https://forum.kirupa.com/t/load-external-swf-on-top-on-another/121678/1 "2004-09-05T15:31:36Z")

</div>

I have a main screen swf and a button which brings out an external swf using the loadMovie() function.

This works fine. But how can I have a button which only closes the external swf but not the main screen swf? What function should I use or how I can achieve that?

It’s like an layer which just sits on top of the main swf. How can I close just the top layer?
