# Loading external swifs

**URL:** <https://forum.kirupa.com/t/loading-external-swifs/184203>\
**Category:** Uncategorized\
**Created:** [April 3, 2006, 9:37am UTC](https://forum.kirupa.com/t/loading-external-swifs/184203 "2006-04-03T09:37:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![decymim](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@decymim](https://forum.kirupa.com/u/decymim)\
**Post date:** [April 3, 2006, 9:37am UTC](https://forum.kirupa.com/t/loading-external-swifs/184203/1 "2006-04-03T09:37:10Z")

</div>

hello Im loading external siwfs using the code of kirupa tutorials as shown below

on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “FINISHED”;  
container.loadMovie(“FINISHED.swf”);  
} else if (\_root.currMovie != “FINISHED”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.currMovie = “FINISHED”;  
container.play();  
}  
}  
}

However I can still click the underlying buttons on the previous page.

is there anyway to disable these buttons or unload the previous page?

---

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [April 3, 2006, 9:20pm UTC](https://forum.kirupa.com/t/loading-external-swifs/184203/2 "2006-04-03T21:20:24Z")

</div>

If your loading them into “container”, then the newly loaded one will replace the previous one. If you want to unload a movie, then its just

```auto

container.unloadMovie()

```

---

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 3, 2006, 9:36pm UTC](https://forum.kirupa.com/t/loading-external-swifs/184203/3 "2006-04-03T21:36:46Z")

</div>

Also, please try to use the code tags, for example:  
[noparse]

```auto
your code here

```

[/noparse]

This will make your code easier to read and might help others find the problem faster. :thumb:
