Groups | Blog | Home
all groups > flash actionscript > december 2006 >

flash actionscript : 1 set password



Sin D
12/31/2006 9:20:04 PM
I need a page with a password that is the same password for everyone. The
password is only to discourage individuals who don't need to know large group
pricing.
If the password passes the viewer will be directed to a url...Can I do that?
If the password fails the viewer will be directed to a fail frame.
I use Flash 8, so "eq" doesn't work. "just so you know this is not without any
effort~ After 2 weeks of trying to deal with GoDaddy and through them MySql I
am totally fried. I finally set up a simple CGI script to see if I could go
that route but Godaddy will only direct user back to the root index and I get
an email everytime you try to sign in. LOL..."
I like Flash so I would like to use it, but I am open to html code too, I have
Dreamweaver..
Would someone help me script this....PLEEZE>>>>>Help me start my New Year out
right<<<<<<. If the script works and I use it I will be happy to compensate
you for it.:confused;:smile;:wink;
Sin D
1/1/2007 1:34:47 AM
Hey everybody I got it by myself with pure driven determination. If anybody
wants to know how... Here it is.......On the first frame action layer.
Enter.onRelease = function() {
if (_root.password.text == "Dream")
getURL("http://www.cindydesmond.com/DVcover.pdf","_self");
else
getURL("http://www.cindydesmond.com/loginfail.html","_self");
}

//End Behavior

On the Submit button action:
on (keyPress "<Enter>") {
if (_root.password.text == "Dream")
getURL("http://www.cindydesmond.com/DVcover.pdf","_self");
else
getURL("http://www.cindydesmond.com/loginfail.html","_self");
}

//End Behavior

Works like a charm!!!!!!! Owe myself $50 bucks and a shopping trip..Yahoooo.
AddThis Social Bookmark Button