password login

How do I add a password protected login for my site using flash?
Who is Participating?
blue-genieConnect With a Mentor Commented:
how secure do you want it?
if you're not that worried

simply. ...
var password ="whatever";
create a textfield password_txt;

login_btn.onRelease = function() {
if (password_txt.text == password) {
//carry on
} else {
//stop them

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.