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..
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..