# Button(movie clip) in a button(movie clip) help - attached fla

**URL:** https://forum.kirupa.com/t/button-movie-clip-in-a-button-movie-clip-help-attached-fla/215652
**Category:** Uncategorized
**Created:** [February 9, 2007, 1:24am UTC](https://forum.kirupa.com/t/button-movie-clip-in-a-button-movie-clip-help-attached-fla/215652 "2007-02-09T01:24:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nix](https://avatars.discourse-cdn.com/v4/letter/n/a183cd/32.png) [@nix](https://forum.kirupa.com/u/nix)
#### Post date: [February 9, 2007, 1:24am UTC](https://forum.kirupa.com/t/button-movie-clip-in-a-button-movie-clip-help-attached-fla/215652/1 "2007-02-09T01:24:32Z")

</div>

Hey guys,

I had 3 buttons in the main movie which was working fine.

an external actionscript file was responsible for the buttons’ functions

playPause is the instance name of the button(made as a movie clip)

```auto

playPause.onRollOver = function()
{
	if(this._currentframe == 1) this.gotoAndStop("pauseOver");
	else this.gotoAndStop("playOver")
}

```

What I wanted to do is create another button(instance name speaker) on the main movie that when a user rolls over with a mouse, it’ll show the 3 buttons. Basically, a button(movie clip) in a button(movie clip).

I have this movie clip working fine but none of the action script on the original buttons are working (of course because target changed).

I have tried the following and it will not work (in external .as file)-

```auto

speaker.playPause.onRollOver = function()
{
	if(this._currentframe == 1) this.gotoAndStop("pauseOver");
	else this.gotoAndStop("playOver")
}

```

here is the fla (for the test file, i simply put the as code in the frame and not external as file)  
[www.yooniq.net/dante/testmp.fla](http://www.yooniq.net/dante/testmp.fla)

and here is what i’m talking about  
[www.yooniq.net/dante/testmp.swf](http://www.yooniq.net/dante/testmp.swf)

any suggestions? it’ll be greatly appreciated.  
thanks in advance 😉
