Can't click on a button with startDrag() active on stage

Posted by Pedro on Game Development See other posts from Game Development or by Pedro
Published on 2012-11-23T10:13:23Z Indexed on 2012/11/23 11:17 UTC
Read the original article Hit count: 389

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

I have a MClip associated with the mouse cursor:

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

And an MouseEnvet on the stage: stage.addEventListener(MouseEvent.CLICK, FunctionXYZ);

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

Thank you very much. BR, Pedro

© Game Development or respective owner

Related posts about flash

Related posts about actionscript-3