# Drag/button problem

**URL:** <https://forum.kirupa.com/t/drag-button-problem/225314>\
**Category:** flash\
**Created:** [May 10, 2007, 4:55pm UTC](https://forum.kirupa.com/t/drag-button-problem/225314 "2007-05-10T16:55:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![strik3r](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@strik3r](https://forum.kirupa.com/u/strik3r)\
**Post date:** [May 10, 2007, 4:55pm UTC](https://forum.kirupa.com/t/drag-button-problem/225314/1 "2007-05-10T16:55:19Z")

</div>

Hi, guys!  
I’ve been browsing the net all day long, and couldn’t find anything helpful, so I hope you can assist. Here’s the deal.

I got an mc, which I want to be able to drag around. I’ve added this code to it:

on(press){  
startDrag(this);  
}  
on(release){  
stopDrag();  
}

And it works fine. BUT!

I have a button within that clip, that is supposed to activate that mc’s timeline on roll over. (Pressing drags the main MC, rollover activates the button/timeline in it) But it only works when i remove the script for dragging the mc. And i need to be able to drag it, and nest buttons in it, load external swfs in it, etc.  
Basically, the dragging script doesn’t allow buttons to work. I know I could be all wrong with the concept, so you can start from there…
