# Buttons inside a MC

**URL:** <https://forum.kirupa.com/t/buttons-inside-a-mc/192631>\
**Category:** flash\
**Created:** [June 29, 2006, 10:25pm UTC](https://forum.kirupa.com/t/buttons-inside-a-mc/192631 "2006-06-29T22:25:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tolgainam](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Post date:** [June 29, 2006, 10:25pm UTC](https://forum.kirupa.com/t/buttons-inside-a-mc/192631/1 "2006-06-29T22:25:41Z")

</div>

Hello,

I have a movieclip and some sort of buttons inside of it for interaction.  
The Movieclip is in the \_root and all other stuff inside of it.  
Now problem is:  
Whenever I attach an action to he MC like:

```auto

this.onEnterFrame = function() {
 
_root.mc_stage.onPress = function() { 
 startDrag(_root.mc_stage,false);
}
_root.mc_stage.onRelease = function() {
 stopDrag();
}
}

```

and run the swf, I can NOT interact with the buttons. I cant clikc them.  
When there is no action applied to MC on the instance or the timeline the buttons work perfect.

How can I make both work ? Drag the Movieclip with mouse and also make buttons work.  
thanks.
