# Movie clip button Help

**URL:** https://forum.kirupa.com/t/movie-clip-button-help/101234
**Category:** Uncategorized
**Created:** [February 7, 2004, 3:20pm UTC](https://forum.kirupa.com/t/movie-clip-button-help/101234 "2004-02-07T15:20:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bubba1](https://avatars.discourse-cdn.com/v4/letter/b/b3f665/32.png) [@bubba1](https://forum.kirupa.com/u/bubba1)
#### Post date: [February 7, 2004, 3:20pm UTC](https://forum.kirupa.com/t/movie-clip-button-help/101234/1 "2004-02-07T15:20:18Z")

</div>

Hi,  
I have a movie clip button that has 4 states:  
up, over, out, press, and disable.  
the action script inside the movie clip button looks like this:

stop();  
onRollOver = function () {  
this.gotoAndstop("\_over");  
};  
onRollOut = function () {  
this.gotoAndstop("\_out");  
};  
onPress = function () {  
this.gotoAndstop("\_press");  
};

on the stage, I have several instances of this button mc.  
when the button is clicked, it loads an external file into a container on the stage.

the action script looks like this.

myButtonMC\_1.onRelease = function() {  
\_root.holder1.loadMovie(“Image\_1.swf”);  
};  
myButtonMC\_2.onRelease = function() {  
\_root.holder1.loadMovie(“Image\_2.swf”);  
};  
myButtonMC\_3.onRelease = function() {  
\_root.holder1.loadMovie(“Image\_3.swf”);  
};

and so on.

Now what I am trying to do, is after let’s say, myButtonMC\_1 is clicked, it becomes disabled and the hand cursor disappears.

when myButtonMC\_2 is then clicked, I want myButtonMC\_1 to become enabled,  
and myButtonMC\_2 to become disabled etc.

I am having problems doing this.  
this is an example of the actionScript on the main stage.

myButtonMC\_1.onRelease = function() {  
\_root.holder1.loadMovie(“Image\_1.swf”);  
this.gotoAndstop("\_disable");  
this.enabled = false;  
this.useHandCurser = false;  
};

Can someone please help me?

Thank you in advance, I really appreciate it.

mk
