# Draggable Menu

**URL:** <https://forum.kirupa.com/t/draggable-menu/115241>\
**Category:** Uncategorized\
**Created:** [July 6, 2004, 9:36pm UTC](https://forum.kirupa.com/t/draggable-menu/115241 "2004-07-06T21:36:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gumby19](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@Gumby19](https://forum.kirupa.com/u/Gumby19)\
**Post date:** [July 6, 2004, 9:36pm UTC](https://forum.kirupa.com/t/draggable-menu/115241/1 "2004-07-06T21:36:07Z")

</div>

I want to have a navigational pop up menu and be able to drag it around and drop it anywhere in my flash movie. I have figured out how to drag and drop it and even define a certain hit area for it, but I cannot figure out how to create links inside of the pop up menu, it won’t let me click on anything I put inside of it. Any help is appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2004, 12:01am UTC](https://forum.kirupa.com/t/draggable-menu/115241/2 "2004-07-07T00:01:49Z")

</div>

do you have an .fla?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2004, 1:37pm UTC](https://forum.kirupa.com/t/draggable-menu/115241/3 "2004-07-07T13:37:49Z")

</div>

This is a quick example of what I’m trying to do. The buttons in the menu are set to turn red when you rollover them, but nothing happens when I rollover them. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2004, 3:04pm UTC](https://forum.kirupa.com/t/draggable-menu/115241/4 "2004-07-07T15:04:40Z")

</div>

delete the code you have on the MC, and put this on the time line:

```auto

dragMovie = new Object();
dragMovie.onMouseDown = function() {
	movie.startDrag();
};
Mouse.addListener(dragMovie);
dropMovie = new Object();
dropMovie.onMouseUp = function() {
	movie.stopDrag();
};
Mouse.addListener(dropMovie);

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2004, 3:24pm UTC](https://forum.kirupa.com/t/draggable-menu/115241/5 "2004-07-07T15:24:00Z")

</div>

That’s definetly closer than I was. But I don’t want to be able to click anywhere on the screen to drag that movie clip. I only want to be able to grab the top bar of the movie clip to drag. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2004, 7:05pm UTC](https://forum.kirupa.com/t/draggable-menu/115241/6 "2004-07-07T19:05:00Z")

</div>

doh, haha here…tested and fixed:

```auto

dragMovie = new Object();
dragMovie.onMouseDown = function() {
	if(movie.hitTest(_root._xmouse, _root._ymouse)) {
	movie.startDrag();
	}
};
Mouse.addListener(dragMovie);
dropMovie = new Object();
dropMovie.onMouseUp = function() {
	movie.stopDrag();
};
Mouse.addListener(dropMovie);

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2004, 8:10pm UTC](https://forum.kirupa.com/t/draggable-menu/115241/7 "2004-07-07T20:10:20Z")

</div>

Thanks. Also found another way to do it.
