# Killing right-click menu completely?

**URL:** https://forum.kirupa.com/t/killing-right-click-menu-completely/166519
**Category:** Uncategorized
**Created:** [October 20, 2005, 4:14pm UTC](https://forum.kirupa.com/t/killing-right-click-menu-completely/166519 "2005-10-20T16:14:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gokhan](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gokhan](https://forum.kirupa.com/u/gokhan)
#### Post date: [October 20, 2005, 4:14pm UTC](https://forum.kirupa.com/t/killing-right-click-menu-completely/166519/1 "2005-10-20T16:14:02Z")

</div>

I am designing a game. In one chapter, I want the user to

right click and keep \> to zoom in  
middle click \> to reset the view

This code works fine.

```auto
//my movie fps=80 and my_mc is placed on the main stage
import mx.transitions.Tween;
import mx.transitions.easing.*;
my_mc.onEnterFrame = function() {
if (ASnative(800, 2)(2)) {
this._xscale = this._yscale++;
} else if (ASnative(800, 2)(4)) {
reset(this);
}
};
function reset(mc) {
with (mc) {
var tweenX = new Tween(mc, "_xscale", Elastic.easeOut, mc._xscale, 100, 2, true);
var tweenY = new Tween(mc, "_yscale", Elastic.easeOut, mc._yscale, 100, 2, true);
}
}

```

Problem is the right-click menu,  
I try “Stage.showmenu=false” but the menu is still appearing with fewer options. I want to kill this menu completely. Any ideas?
