# Movie Loading Layers / Button Functionality

**URL:** https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158
**Category:** flash
**Created:** [February 9, 2003, 7:39pm UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158 "2003-02-09T19:39:11Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![asphaltcowboy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/asphaltcowboy/32/128_2.png) [@asphaltcowboy](https://forum.kirupa.com/u/asphaltcowboy)
#### Post date: [February 9, 2003, 7:39pm UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158/1 "2003-02-09T19:39:11Z")

</div>

how do you get buttons to lose their functionality once a new movie is loaded? I’m having trouble, I have a movieclip (with buttons) and when pressed, and new movie loads over the top of them - but the buttons in the movie underneath still have their functionality - how do i remove this so that only the top (visible layer) retains functionality?

any help appreciated :]

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 9, 2003, 7:43pm UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158/2 "2003-02-09T19:43:40Z")

</div>

You can make it go away using the visible property by applying a action like this to your movieclip:

```php
on (release) {
	_visible = false;
}

```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 9, 2003, 8:52pm UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158/3 "2003-02-09T20:52:32Z")

</div>

hang on, /me is confused - what do I apply the action to? The movie clip that I want to lose functionality over, the one I want to keep functionality? or the button? 😕

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 9, 2003, 8:57pm UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158/4 "2003-02-09T20:57:38Z")

</div>

Ok I didn’t read your question carefully, so in your situation, you can do this…

First give your movie clip that holds the buttons an instance name of something like “box”

Next, on each button inside the movieclip, apply this action to the button:

```php
on (release) {
    _root.box._visible = false;
}

```

So now everytime the button is pressed, the movieclip that holds the button would dissappear. I hope that is more clear for you. =)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 10, 2003, 10:47am UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158/5 "2003-02-10T10:47:18Z")

</div>

ok, i still can’t get it to work - could someone look at the fla please? I want the portfolio\_main as the bkgd - when you click on the ‘web design’ button, the port\_web movie loads over it, partially covering a bit of portfolio\_main, thats all fine and dandy. however, when I click the ‘[colourpatrol.co.uk](http://colourpatrol.co.uk)’ button, colourpatrol.swf loads _over_ port\_web.swf - but I want port\_web to lose its functionality when that happens - atm the colourpatrol button retains functionality.

thnx for any help!

\</stress\>

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 10, 2003, 1:28pm UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158/6 "2003-02-10T13:28:36Z")

</div>

[http://www.kirupaforum.com/showthread.php?s=&threadid=14745](http://www.kirupaforum.com/showthread.php?s=&threadid=14745)

=)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 10, 2003, 1:31pm UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158/7 "2003-02-10T13:31:42Z")

</div>

wow, thanks a lot!  
I’ll let you know when the whole thing is finished :]

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 10, 2003, 1:43pm UTC](https://forum.kirupa.com/t/movie-loading-layers-button-functionality/13158/8 "2003-02-10T13:43:32Z")

</div>

no problem asphaltcowboy 🙂
