Flash CS4 - Need password protection for customer section!
$40-70 USD
Đã hoàn thành
Đã đăng vào gần 14 năm trước
$40-70 USD
Thanh toán khi bàn giao
Hello,
I'm having a hard time with an AS code on Flash CS4.
I designed a customer section for my website and need to password protect the access to a URL.
I designed an Enter Button to input the password, and I want that 'if people have the right password, they access the URL', if not 'they go the 2nd frame called 'wrong' and have the opportunity to try again.
The code I put on the button is the following but it doesn't work -> the issue is that any password actually gives access to the URL. It seems that there is some sort of automatic fill in the input text box, that gives the right password, no matter what we type...
Can anyone help me ? My bid is between 40 and 70 USD.
on(release, keyPress "<Enter>") {
if(password = "senlis") {
getURL("[login to view URL]", "_blank");
}else {
gotoAndStop("wrong");} }
Thank you for your help!!!