# Making Two MovieClips Move Together

**URL:** <https://forum.kirupa.com/t/making-two-movieclips-move-together/245067>\
**Category:** flash\
**Created:** [November 26, 2007, 2:41am UTC](https://forum.kirupa.com/t/making-two-movieclips-move-together/245067 "2007-11-26T02:41:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KillCodyDead](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@KillCodyDead](https://forum.kirupa.com/u/KillCodyDead)\
**Post date:** [November 26, 2007, 2:41am UTC](https://forum.kirupa.com/t/making-two-movieclips-move-together/245067/1 "2007-11-26T02:41:16Z")

</div>

I’ve made a draggable menu for a flash site ([COLOR=SeaGreen]menu\_mc[/COLOR]), but the buttons don’t work inside the movie clip when I apply startDrag. To remedy the problem, I simply made another movie clip ([COLOR=DarkOrchid]menubuttons[/COLOR]). I now want to more or less attach the two movieclips:

```auto
if (menu_mc.moveTo(x,y)) {
    menubuttons.moveTo(menu_mc.x,menu_mc.y)
};

```

I also tried some pretty iffy statements:

```auto
menubuttons._x = menu_mc._x

```

That last one works initially, but when I move [COLOR=SeaGreen]menu\_mc[/COLOR], [COLOR=DarkOrchid]menubuttons [/COLOR]stays put.
