# Problem with onRelease for movieClip inside draggable movieClip \[Flash Pro 8\]

**URL:** https://forum.kirupa.com/t/problem-with-onrelease-for-movieclip-inside-draggable-movieclip-flash-pro-8/208870
**Category:** Uncategorized
**Created:** [December 3, 2006, 10:28pm UTC](https://forum.kirupa.com/t/problem-with-onrelease-for-movieclip-inside-draggable-movieclip-flash-pro-8/208870 "2006-12-03T22:28:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mathminded](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mathminded](https://forum.kirupa.com/u/mathminded)
#### Post date: [December 3, 2006, 10:28pm UTC](https://forum.kirupa.com/t/problem-with-onrelease-for-movieclip-inside-draggable-movieclip-flash-pro-8/208870/1 "2006-12-03T22:28:03Z")

</div>

I have a movie clip, circle\_mc, and in it is embed another movie clip, point\_mc. I made the circle draggable with this:

```auto
circle_mc.onPress = function() {
 startDrag(this);
 };
circle_mc.onRelease = function() {
 stopDrag();
 };

```

and that part works fine.

I also want to be able to click on point\_mc which is within the circle\_mc movie clip. So, I added this:

```auto
circle_mc.point_mc.onRelease = function() {
 trace("click was successful");
}

```

This does not work, and I’m pretty sure it is BECAUSE its parent clip is draggable and therefore has its own onRelease function. (If I comment-out the drag code, then the other code works as intended.)

Is there any way to do this or am I out of luck?
