Newgrounds Background Image Theme
Upgrade Your Account!

Newgrounds made a lot of infrastructure upgrades this week and needs your help!

Become a Supporter for just $3 a month or $25 for the year.

Shout out to @travsaus for megaphone tankman!

Protective Tutorial

Share Collapse

Author Comments

EDIT: Old. A new one might be made later..

Please Note: It may take a while for the PreLoader to load if you have a slow connection. This is a simple tutorial that allows you to put passwords in flash, and make it so you can disable right clicking in games (Good for cheaters). I actually made sure that the action script works in this tutorial, unlike its annoying competitors. Enjoy!

Log in / sign up to vote & review!

Newgrounds accounts are free and registered users see fewer ads!


this is good but what about creating a new acount? and username??


It was okay. Quite a few of people don't understand passwords and it isn't the sort of tutorial you see around here. I also liked it how you showed how to hide the menu which I previously did not know how to do. However...

You could have explained more on how it is all to do with variables and instead of making it so that the wrong password will take you to a different frame you could toss that idea and delete the

else {

And instead type "try again" or something like that into a static textbox. Next convert the "try again" text into a MovieClip and give it the instance name of "wrong" then insert this code into the frame:

_root.wrong._visible = false;

And then insert this actionscript into the confirm button:

on (release) {
if (pass == 1234) {
} else {
_root.wrong._visible = true;

This doesn't make a huge difference but it gives a nice feel to the game or whatever this signin form is used for.

Overall I ongratulate you on a great tutorial.


It doesn't go that extra mile, but I suppose it doesn't really need to. I had been thinking about the == function, and how sometimes you needed to put in ++ or --, and you've confirmed my speculations. Thank you for that, and also, the menu hide was pretty cool. I had already gotten some script for it, but you had different script, which was kind of cool.

Unquestionably worthy of the portal.

Staticblaze responds:

oh thanks. I tried making a newer version with a custom menu script but I never finnished it. Maybe soon, eh?


just wanna say in the script i had to change the right and wrong words in the wrong way round

but still it worked and without any boring big sentences so it kept my atntion


Staticblaze responds:

Thanks, and my frames were different from the script so that could be the reason. Can't find the source file... *sigh*

Wicked but...

The password option only works with numbers.

Staticblaze responds:

Yes, you need a String() function.

Credits & Info

3.57 / 5.00

Jul 13, 2006
2:56 PM EDT