I have a movie clip, circle_mc, and in it is embed another movie clip, point_mc. I made the circle draggable with this:
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:
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?