| Protect Your Game From Right Clicks |
|
|
|
| Written by Administrator | ||
| Thursday, 22 January 2009 11:43 | ||
|
Right click any flash file, a menu will show up with many items, in the middle you will find "Rewind" and "Forward", those two items allows the user to move from frame to frame in the flash file. Well personally I learned it the hard way, I published a game without disabling the right click, and players were basically able to do whatever they wanted in the game. So for those of who youwho want to disable it follow these steps. This will be a bug in the game or an easy cheat for players to jump from level to level if each level of the game has its own frame. The solution is to disable right clicks, as in the example below:
This code will remove the items from the menu and add an item that says "All rights reserved".
You may creat new items and push them to the menu. Write this code in the first frame in your flash file to disable right clicks in all frames.
You will find the source file in the attachments below. Enjoy it!! Related Articles
|
||
| Last Updated on Tuesday, 10 February 2009 12:00 |
Copyright © 2009 FreshNova, by Talha Kalim and Waleed Al-Bahrawy





Comments