# Unloading a movienum

**URL:** <https://forum.kirupa.com/t/unloading-a-movienum/259905>\
**Category:** flash\
**Created:** [May 9, 2008, 11:56pm UTC](https://forum.kirupa.com/t/unloading-a-movienum/259905 "2008-05-09T23:56:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![g27](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@g27](https://forum.kirupa.com/u/g27)\
**Post date:** [May 9, 2008, 11:56pm UTC](https://forum.kirupa.com/t/unloading-a-movienum/259905/1 "2008-05-09T23:56:30Z")

</div>

Hi,

I have the following code which loads an external gallery.

on (release) {  
loadMovieNum(“gallery.swf”,1);  
}

On the same page I have a back button that sends the user back to the main site. And I want to unload the gallery with this back button , but I don’t know what the code would be - everyone i’ve tried sends the page back but the gallery remains in place?

Would be really grateful if anyone could offer any advice?

Thanks

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [May 10, 2008, 1:30am UTC](https://forum.kirupa.com/t/unloading-a-movienum/259905/2 "2008-05-10T01:30:03Z")

</div>

```auto
on (release) {
 unloadMovieNum(1);
}

```

---

<div class="post-metadata">

**Author:** ![g27](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@g27](https://forum.kirupa.com/u/g27)\
**Post date:** [May 10, 2008, 5:00pm UTC](https://forum.kirupa.com/t/unloading-a-movienum/259905/3 "2008-05-10T17:00:33Z")

</div>

That’s great - thank you.
