ActionScript 2.0 :: Externally Validate A Login / Password Set Up In Flash
Mar 19, 2004
I am converting a friend of mine's business site to flash, and have come across a problem.I am not sure how to externally validate a login/password set up in flash.[code]
My problem is rather simple. I have a site built totally in flash that I need a couple other people to be able to log into, but I don't want them to know the password. Does anyone know if there a way that I can load the flash site in an iframe, and then use some javascript to fill the flash username and password with the correct text so that they can just click the login button without knowing the username and password?
I'm trying to add a login for running my flash movie. When the user clicks the login button, the text of the password field is authenticated, which allows gotoAndPlay(2) .
But the problem is both in my .swf and my projector .exe i can easily jump the login frame by pressing Ctrl+Enter .
What's the best way to save user credentials in flex? Local storage doesn't seem like good place for storing confidential data, because it saves information as a plain text.
I'm trying to create a simple login for a flash site written in AS2. This should be extremely simple. I don't want to use PHP and MySQL, that would be overkill. On the home page of the site, I want a login box to appear, then once the correct user name and password is entered, I want to gotoAndPlay(whatever) I have three text boxes setup with following instance names assigned:
I want to make a file that that has a register button where the user can put in their name, username and password. Then I want the user to be able to be logged in with the username and password they put in.
I have a need to build a flash login page. No big deal, but I need to have six seperate login accounts. For example: Username: user1 Password: pass = link to [URL] Username: user2 Password: pass = link to [URL] Username: user3 Password: pass = link to [URL] and so on for up to six users.
Again the usernames and passwords would not change, but need to redirect the particular user to a certain page. stop(); var user_input = ""; var pass_input = ""; login_button.onRelease = function(){ if(user_input == "user1" && pass_input == "pass"){ getURL([URL], "GET"); }else{ gotoAndStop (3); }}
how could i make a login form for people to use to login to a certain area?? like for instance on this website [url]..... at the bottom he has a client login form....how could i do that?
Im new at actionscript, and I am making a very project. Basicly, I have some thing were there is a page you can get to by beating other parts of the 'game'. I want to add some sort of a password or save feature to people can type in the password of something at the opening screen and jump to that page.
Recently i made a site with football betting predictions. I then contacted some bookmakers and got the affiliate links . My problem is that my page doesn't validate with the affiliate code in it. Is there any way to "hide" the code so it can pass the validate? Here are 2 samples of the affiliate codes
[Code]....
About the errors well ... there are 2 many. so i will just give you the link of the site (it's still not ready specially the layout so dont't comment anything else :p)
<note> <to>ahmad</to> <from>jhon <body>hello how are you!!!</body> </note>
Above is my xml file which have no ending tag of from tag. Which id an error. I want an actionscript code to check if there is a broken tag then fix it automatically. And my code displays the correct xml.
Above is my xml file which has no ending tag for the from tag, which gives an error.I need actionscript code to check if there is a broken tag and then fix it automatically.
how to validate certain fields on m flash form. Here is some code. Im not sure what will help.
on the Submit button:
HTML Code: on (release) { // send variables in form movieclip (the textfields) // to email PHP page which will send the mail
[code].....
I have 3 frames labeled- (frame1)="contact_form"; (frame 2) = "thanks"; (frame3)="error"I have 3 text fields I need validated. Their variable names are "name", "email", & "company".
My page validated error free against HTML5 until I added YouTube's embed code. # Line 140, Column 132: Stray end tag param. ¦O30JM&hl=en_US&fs=1"></param><param name="allowFullScreen" value="tru # Error Line 140, Column 183: Stray end tag param. ¦llowFullScreen" value="true"></param><param name="allowscriptaccess" value="a # Error Line 140, Column 238: Stray end tag param.
¦scriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1rW # Error Line 140, Column 430: Stray end tag embed. ¦ways" allowfullscreen="true"></embed></object> Is there a way to get object, embed and param tags validate against HTML5 ?
After trying many methods in Flash 6 I have not been able to create a working password field. If anybody has code that works with FLASH 6 please post it. I just want to have two frames a frame to enter the password, and a frame to say that the password was wrong and go back. Then if the password is correct I would like It to go to a different flash document.
it there any way to create an advanced password authentication in flash ? I saw the tutorial here :[URL] but I want to take it to the next level an create a more advanced authentication that will draw the passwords from a database or something external ( asp, php ). what is the most secure way to do it ?
I have this simple actionscript 2.0 code for a password field.. you have to enter "hello" to get the string "yes" otherwise you get the string "no" returned.. I was wondering if there were any flash terms you could enter into the input text field to still get access other than "hello" i.e. entering passwordstring would make the if statement say (read the code at the bottom first)...if(passwordstring == passwordstring)but that doesn't work..here is my code:
I've been trying to load some JSON from a URL with a username/password at the beginning.So the URL resembles: http:/[url]....I've been using the DataLoader class from greensock and it returns a Error #2032: Stream Error if the authentication is up but loads fine when it is disabled.I'm trying to add a 'Authorization' URLRequestHeader to get round this issue? Is this the best way forward?
Edit: I'm trying to use headers in a similar way to this post: Flex 3 - how to support HTTP Authentication URLRequest? but I'm not having much success. The base64 encoder I'm using is from here: http:[url]....
2nd Edit: latest code
_loader = new DataLoader(ENDPOINT, { onComplete:handleComplete, onError:handleError, onFail:handleFail } ); _loader.request.method = URLRequestMethod.POST; _loader.request.data = new URLVariables("required=RandomData");[code].....
I know how to create a Username and password in flash. I want to know now is how to create a scene where users can register their own name and make their own password.
I found the following tutorial which looks good but i cant get it to work [URL] i have setup the db connections etc and i never see the error screen or sucess screen, it just hangs at 'Begin Login Process - Wait...' setting up the db i had to remove the DEFAULT '0000' as mysql qould not acsept it the code given is
I'm trying to publish an iPhone game and I have downloaded everything I need to allow me to publish through flash. I'm on a pc and I can't figure out what the password is of the .p12 certificate I made in openssl is. Here are the steps I've used:
Is there any AS3/Air library for Zip files with password protection support? Previously i check FZip, it was great but it doesn't support encryption! Also another library that works good, but it not support encryption too.