Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

verifying a variable (password detection)

Status
Not open for further replies.

seti

Programmer
Oct 23, 2000
40
BE
Hi there,

I've got a bit of a problem here:

I'm trying to verify a password and it doen's seem to work:

testing fla:
1st frame: actions:

Load Variables ("safety.html", 0)
Set Variable: "password" = "sven"
If (s eq password)
Set Property ("/green light", Visibility) = "1"
Set Property ("/red light", Visibility) = "0"
Else
Set Property ("/green light", Visibility) = "0"
Set Property ("/red light", Visibility) = "1"
End If
Stop

movieclips: red light and green light

What i'm trying to do is: I'm retrieving a variable from a textfile &s=sven&. When the value equals the password I would have a green light, otherwise a red light!

It always seems to give a red light ????

plz help..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top