เข้าสู่ระบบเพื่อบันทึกความคืบหน้าและรับคะแนน!
Tutorial: How to disable right clicking!

Tutorial: How to disable right clicking!

โดย BHBProd

Loading ad...

Tutorial: How to disable right clicking!

คะแนน:
2.4
เปิดตัว: October 28, 2010
อัปเดตล่าสุด: October 28, 2010
ผู้พัฒนา: BHBProd

แท็กสำหรับ Tutorial: How to disable right clicking!

รายละเอียด

This code will make someone auto lose when right clicking:

var myMenu:ContextMenu = new ContextMenu();//create a new context menu called myMenu
function rightClick() {//create a new function called right click
gotoAndStop('cheatFrame');//when the right click button is pressed, go to the cheatFrame
}//
myMenu.onSelect = rightClick;//when the right click menu is brought up, execute the rightClick function
this.menu = myMenu;//make the neccesary changes to go to the cheating frame

วิธีเล่น

Go through the tutorial!

ความคิดเห็น

0/1000
chaos548 avatar

chaos548

Apr. 20, 2011

1
0

Stage.showMenu=false <-- DONE!

hamvvar avatar

hamvvar

Oct. 28, 2010

1
2

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 avatar

ita133

Oct. 29, 2010

1
3

lame

BLUEALEX7 avatar

BLUEALEX7

Oct. 28, 2010

1
3

You know people can hold the left click and do it.