# Disabled right mouse click

**URL:** <https://forum.kirupa.com/t/disabled-right-mouse-click/244898>\
**Category:** programming\
**Created:** [November 23, 2007, 8:47am UTC](https://forum.kirupa.com/t/disabled-right-mouse-click/244898 "2007-11-23T08:47:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajayaditya](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@ajayaditya](https://forum.kirupa.com/u/ajayaditya)\
**Post date:** [November 23, 2007, 8:47am UTC](https://forum.kirupa.com/t/disabled-right-mouse-click/244898/1 "2007-11-23T08:47:45Z")

</div>

Stage.showMenu = false;  
Mouse.hide();  
\_root.attachMovie("\_mouseMc", “\_mouseMc”, getNextHighestDepth());  
\_mouseMc.onEnterFrame = function() {  
this.\_x = \_xmouse;  
this.\_y = \_ymouse;  
};

the above code i used to attach a mc as mouse cursor. original mouse cursor is hidden in the movie. But when i press right mouse click then original cursor appeared on the stage. i want that original cursor doesn’t appear.  
Can anyone help me? it’s appreciable. THANKS  
:q:
