# Loading Movies from buttons

**URL:** https://forum.kirupa.com/t/loading-movies-from-buttons/152693
**Category:** flash
**Created:** [June 26, 2005, 9:32pm UTC](https://forum.kirupa.com/t/loading-movies-from-buttons/152693 "2005-06-26T21:32:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![edv1972](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@edv1972](https://forum.kirupa.com/u/edv1972)
#### Post date: [June 26, 2005, 9:32pm UTC](https://forum.kirupa.com/t/loading-movies-from-buttons/152693/1 "2005-06-26T21:32:24Z")

</div>

I have a question,

I have 6 buttons. Each one of them loads a movie using the [font=Courier New]LoadMovie[/font] command. Say when I press button 1 it loads movie 1, when I press button 4 I want it to unload movie 1 and load movie 4, but my question is, how do I tell the button to unload “any” movie loaded from previous buttons and load the new movie for that button? is that confusing?

WHat’s the action script command for that?

Thx!
