Tutorial: How to disable right clicking!
por BHBProd
Add to your home screen for quick access
Install this game
Tap the Share button, then "Add to Home Screen" to install this game for quick access.
Tutorial: How to disable right clicking!
Etiquetas para Tutorial: How to disable right clicking!
Descripción
Este código hará que alguien pierda automáticamente al hacer clic derecho:. var myMenu:ContextMenu = new ContextMenu();//crea un nuevo menú contextual llamado myMenu. function rightClick() {//crea una nueva función llamada clic derecho. gotoAndStop('cheatFrame');//cuando se presiona el botón derecho, ve al cheatFrame. }//. myMenu.onSelect = rightClick;//cuando se muestra el menú contextual, ejecuta la función rightClick. this.menu = myMenu;//haz los cambios necesarios para ir al frame de trampas
Cómo jugar
¡Sigue el tutorial!
Comentarios
chaos548
Apr. 20, 2011
Stage.showMenu=false <-- DONE!
hamvvar
Oct. 28, 2010
Alright, but if you do implement this code you should also make sure that your game has built in toggles for "Show All" and Hi/Lo Quality.
A lot of games leave out the option to toggle quality and this can be a real shitty decision.
ita133
Oct. 29, 2010
lame
BLUEALEX7
Oct. 28, 2010
You know people can hold the left click and do it.