# Disabling buttons and unloading movies

**URL:** <https://forum.kirupa.com/t/disabling-buttons-and-unloading-movies/181507>\
**Category:** Uncategorized\
**Created:** [March 9, 2006, 10:05pm UTC](https://forum.kirupa.com/t/disabling-buttons-and-unloading-movies/181507 "2006-03-09T22:05:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumire](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sumire](https://forum.kirupa.com/u/sumire)\
**Post date:** [March 9, 2006, 10:05pm UTC](https://forum.kirupa.com/t/disabling-buttons-and-unloading-movies/181507/1 "2006-03-09T22:05:54Z")

</div>

I have a main page with the global navigation on it. (main.fla)  
When you click on any of the buttons (home), it loads another movie (home.fla) onto the first. I was wondering how to disable the current button when it’s movie is loaded.

ALSO when you load another movie (let’s say you go from home.fla to contact.fla) is there a way to unload ALL (home.fla, clients.fla etc… … ) movies in a simple sentence of code? Or do I have to unload each movie specifically (which seems tedious)?

thanks in advance!

[FONT=“Century Gothic”][/FONT][SIZE=“5”][/SIZE]
