# Unloading an external movie -fading

**URL:** https://forum.kirupa.com/t/unloading-an-external-movie-fading/125990
**Category:** Uncategorized
**Created:** [October 19, 2004, 4:11pm UTC](https://forum.kirupa.com/t/unloading-an-external-movie-fading/125990 "2004-10-19T16:11:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kafir](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@kafir](https://forum.kirupa.com/u/kafir)
#### Post date: [October 19, 2004, 4:11pm UTC](https://forum.kirupa.com/t/unloading-an-external-movie-fading/125990/1 "2004-10-19T16:11:38Z")

</div>

I have this fully integrated site where the menu(which loads from different swf) loads external swf into a container. Whenever a new bottom i selected i want the swf in the container to fade out. Can i add a script to my present code that fades the container “contact” out.

on (release) {

```
unloadMovie (_root.bg);
unloadMovie (_root.contact);
loadMovie("content/historie.swf", _root.contact);

```

}  
on (rollOver) {  
tellTarget (“historie”) {  
gotoAndPlay(2);  
}  
}  
on (rollOut) {  
tellTarget (“historie”) {  
gotoAndPlay(11);  
}  
}

I really hope you experts can help

/kafir
