Button inside mc not working

Hi guys, i have a movie clip that contains several buttons. Inside that movie clip I can access the buttons for example:


mc_next.onRelease = function(){
trace('hello');
}

It works fine, however if I have a onRollOver event on the main MC that include the buttons, the buttons within stop working.


player.onRollOut = function(){
	this.gotoAndStop(1);
}

Any ideas, I have tried to search the forum. I believe it should be a simple solution.

Thanks in advance
d:bounce:

Can’t do that in AS2 without using bounds instead of rollhandlers.

are you talking about hit test?

or do you mean x_mouse and y_mouse?

anyone with any ideas? i think i may have confused some people. It’s not an actual ‘button’, its a movieClip inside another movieClip that acts as a button. But they don’t work when the main movieclip has a rollOver event.

I have attached a fla with an example of qhat I am talking about.

Any help or direction would be much appreciated.

I almost worked around it by adding a transparent mc inside the main mc and gave that the rollOver event. It worked fine, but if the layer is over the button it wouldn’t work.

Thanks

d