?
Solved

password protecting access to a flash websit

Posted on 2007-04-04
3
Medium Priority
?
205 Views
Last Modified: 2010-04-03
I am looking for a way of password protecting access to a flash website, can this be done with flash using action script?
0
Comment
Question by:surfjoe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Tom Ray
ID: 18854212
0
 

Author Comment

by:surfjoe
ID: 18854362
This dose answer my question but when I try using it I get this error:

**Error** Scene=Scene 1, layer=Password AS, frame=1:Line 3: Statement block must be terminated by '}'
     login_btn.onRelease = function() {

**Error** Scene=Scene 1, layer=Password AS, frame=1:Line 13: Syntax error.

Total ActionScript Errors: 2        Reported Errors: 2



Using this AS:

var password ="whatever";

login_btn.onRelease = function() {
if (password_txt.text == password) {
//carry on
gotoAndPlay(2);
} else {
//stop them
stop();
}
0
 
LVL 11

Accepted Solution

by:
Tom Ray earned 2000 total points
ID: 18855295
yeah its missing one more "}" at the end.

here is my version:
http://www.tsquared.com/ee/login/

there is a link to download it there too
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question