Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I need to know how can I enable mouse click on a button when I have a MouseEvent listener for the stage.

I have an MClip associated with the mouse cursor:

Mouse.hide();
scope.startDrag(true);

And a MouseEvent on the stage:

stage.addEventListener(MouseEvent.CLICK, FunctionXYZ);

When I try to click on any button they don't call the function that I create for those buttons... for example, button for fullscreen, exit, help, etc... What can I do?

share|improve this question
add comment

1 Answer 1

One thing you can try:

MClip.mouseEnabled = false
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.