Tutorial: How to disable right clicking!

Tutorial: How to disable right clicking!

oleh BHBProd
Laporkan bug
Laporkan Game
Loading ad...

Tutorial: How to disable right clicking!

Rating:
2.4
Dirilis: October 28, 2010
Terakhir diperbarui: October 28, 2010
Pengembang: BHBProd

Tag untuk Tutorial: How to disable right clicking!

Deskripsi

Kode ini akan membuat seseorang otomatis kalah saat klik kanan: var myMenu:ContextMenu = new ContextMenu();//buat menu konteks baru bernama myMenu. function rightClick() {//buat fungsi baru bernama right click. gotoAndStop('cheatFrame');//saat tombol klik kanan ditekan, pergi ke cheatFrame. }//. myMenu.onSelect = rightClick;//saat menu klik kanan muncul, jalankan fungsi rightClick. this.menu = myMenu;//lakukan perubahan yang diperlukan untuk menuju frame curang

Cara Bermain

Ikuti tutorialnya!

Komentar

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.