Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Needcoding Help Bad.. Button To Input Text/ Login-Password Box


Brief Statement:
I'm currently in the process of creating an advanced member login to my new website. I'm fairly new to the web lingo and creation world. I know ALOT (Technical) about computers but quite frankly know jack squat about web development, creation, and design. I am however starting to grasp onto Studio MX rather fast, especially Flash. So this is only for peeps who know a fair deal about flash and dreamweaver and are willing to help a newbie create a fairly advanced website.

Brief Project Specs:
Sorry no pictures at the time so this project is not for the visually illiterate...
Ok first the user will goto the members link on the menu (main site). When they get there a small number pad will appear (Blue semi-transparent artfully designed box like the number pad). They can either type in the 6 digit numeric code or punch it in via mouse click and press or click enter.

There will be 3 levels:

-Members
-Site Tech/Employees
-Site Manager

each with a static code (non-changing per user)
that must be typed.

ex.
Level 2 Clearance: 532840
Level 3 Clearance: 297543
Level 4 Clearance: 324095

if they enter the wrong code an Access Denied screen (red semi-transparent artfully designed box like the number pad) will appear and will automatically forward them back to the main page in 2 sec.

if they enter the right code an Access Granted screen (green semi-transparent artfully designed box like the number pad) will appear and will automatically forward them to their particular level clearance in 2 sec.

after they get pass the number pad

an additional login screen will appear
asking for their individual login id and password
each login screen will be color coded according to access level
ex:

Member (orange semi-transparent artfully designed box like the number pad)

Site Tech/Employee (yellow semi-transparent artfully designed box like the number pad)

Site Administrator (purple semi-transparent artfully designed box like the number pad)

if they enter the wrong code an Access Denied screen (red semi-transparent artfully designed box like the number pad) will appear and will automatically forward them back to the main page in 2 sec.

if they enter the right code an Access Granted screen (green semi-transparent artfully designed box like the number pad) will appear and will automatically forward them to their particular level clearance site page in 2 sec.

lastly this will all be on a black background webpage.

I will create all this stuff, I already now how to create the graphics such as the boxes.

I have already created the number pad with the buttons and the numeric password box but now i need to know how to make the number buttons on the pad input thier respective number in the numeric password box by mouse click. In additon the buttons light up when u click on them. I would also like to make the option of simply typing the numbers in and as there being typed in the buttons act as if they were being clicked by the mouse.

I hope all this stuff isn't too hard. Trust me i believe i'm making it sound harder than it is, simply cuz i've done most all the animated graphic designs but none of the Action script. I know a lil bit about computer programming. If u r interested in helping me and wish to see what i've gotten accomplished e-mail me a JazzkidPhD@yahoo.com

P.S. i normally don't talk this much, lol, but felt i should compensate text for not having pics. Also the site itself has not been built yet so ne parts of the code that need the site inputed will just have to be left blank. (ex. code code code "XX")




FlashKit > Flash Help > Flash ActionScript
Posted on: 04-05-2004, 02:49 PM


View Complete Forum Thread with Replies

Sponsored Links:

Login Form With Login/password Validation From Text File
Can anyone point me to a good example.

I just need username/password authenticated through a .txt file with that info saved in there.

Thanks,
fitchic77

View Replies !    View Related
Login To Mc - Password Through Text File?
Hello!

Id like to create a user name & password area (backstage_mc) inside a main.swf. Ive used simple login forms before (www.stallescotia.com) but Id like this to take its list of users & passwords through a txt.file so that my friend can update it without having to go into Flash, does anyone know of a good tutorial either AS2 or AS3?

Thanks a million!
scotia

View Replies !    View Related
How To Set Up Password Input Text Box
I would like to know how to set up a password protection scheme for a web page.

I know it would involve setting up a single line, input text box. Would I save that as a graphic or movie clip and assign an action to it? What steps do I take? Page 128 of macromedia's flash 5 actionscript reference guide shows a five stage decision table on how the flash player decides on a request for access. Looks very complicated.

View Replies !    View Related
Password - Input Text
I have a movie that has an opening page with password box. If the password is correct, the visitor is taken to the next scene. If the password is incorrect, he or she is taken to the next frame, which basically says to retry the password. This is repeated 3 times. If the password is invalid all 3 times, the movie blacks out. So, basically it goes something like;

frame 1 - password
frame 2 - retry
frame 3 - password
frame 4 - retry
frame 5 - password
frame 6 - access denied.

My question is when I click "retry" from frame 2, I'm taken to frame 3. The problem is the inputbox keeps the previous entry for the password (asterisks). How do I get it to clear the input box?

Second question, does anyone know a script that would automatically close the brower at frame 6?

Any help would be greatly appreciated. Thanks.

SKY90006

View Replies !    View Related
Password Input Text
I have done an input text where you write you password to login into a game but i dont know how to make that you see somthing like ***** instaed of gamer for exemple. is there a way to hide the password with kind of * ?

View Replies !    View Related
Hidden Password In Input Text Box
How do I hide the letters in a password input text box. I have an input text box for the viewer to type in a password and would like the password to not show when typed in, like is the case with html text boxes, where you just see a bullet for each letter in the password. How would I do this? Is there a font I could use?

Thanks for any help with this.

View Replies !    View Related
Hidden Password In Input Text Box
How do I hide the letters in a password input text box. I have an input text box for the viewer to type in a password and would like the password to not show when typed in, like is the case with html text boxes, where you just see a bullet for each letter in the password. How would I do this? Is there a font I could use?

Thanks for any help with this.

View Replies !    View Related
Login Screen + Text Box For Input
Hi guys there are a few things i was needing help with in macromedia flash pro 8.

Firstly is im making a stargate atlantis simulator and im doing the login screen and i have added 1 text box for inputting text.
it is for the username and a button underneath it is to login so what i want to is what ever the person type in the username text box will let u login by clickin the login button but i dont want them to be allowed to beable to login untill they have entered there username.
Also the login screen is a seperate swf file then the dialing computer but on the dialing computer i wanna make whatever the person type in on the login screen appear like this in the top right corner of the screen.

user - whatever the player choose
stats - online
limit - none
id - 333454-/233ca

or something like that so if ne one can help me with this i would be most appreaciated and give u full credit for the part of the coding u help me on.

thanks for reading hope someone can help.

p.s my msn is chevron8653
and my email is chevron8653@yahoo.com.au
is u would like to get in contact with me to help me further

thanks

View Replies !    View Related
Input Text Field And The Missing Password
Using Flash 8 I created a simple password protected area. The frame contains a stop action.
The user can type in the text field with the variable name of scott the password.
When the click the button enter they should be broght to the correct frame using the conditional statement. Below is the code I have attached to the button.

on (release){
if (_root.scott == "enter") {
gotoAndStop(5);
} else {
gotoAndStop(3);
}

}

The problem is this only works when I have the published settiings set to Flash 7 or lower.

This will not work with Flash 8.

If I set the variable _root.scott in the firstframe to "enter" as in

_root.scott="enter";

The text box loads with enter in its field, however, when I type the same word in the text filed it doesn't work.

It seems that Flash 8 abandoned the ability for the user to change the value of an input text box variable by typing into the textbox field.

Any hope would be greatly appreciated.

View Replies !    View Related
Quick Password / Input Text Question
Hello Everyone

I just have a quick (novice) question regarding a Flash Password form that I set up. It's pretty simple, but I just need to know how to make it so that the person can just hit ENTER when done typing the password, rather than clicking the submit button.

Right now I have an input text field, with "pass" as it's variable name. Also, line type is set to Password in the pulldown menu. It works fine with my submit button which has the following code:


Quote:




on (release) {
if (_root.pass == null or _root.pass == "") {
gotoAndStop(2);
} else if (!(_root.pass == "candy")) {
gotoAndStop(3);
} else {
gotoAndPlay(5);
}
}




The text field and button are both on the root timeline, btw.

So, basically, is there a way for the person to just hit the ENTER key and get the same action? I tried making a button that had an on (keyPress "<Enter>") command, but that didn't work since the cursor was still in the text field.

Thanks in advance!
-Steve C.

View Replies !    View Related
How To Hide A Input Text Field In A Login Form.
First of all let me state i'm kind of new to AS3.

I'm making a login form, and i've managed to make it work, but when the form actually moves frames, both the user_field, and password_field, remains visible...

What am I missing to make those fields disappear?.

Here is my code.

Elliot J. Balanza



thanks.







Attach Code

var usuario:String;
var contrasena:String;

bLogin.addEventListener(MouseEvent.CLICK, procesaLogin);

function procesaLogin(event:MouseEvent):void
{
addChild(user_field);
addChild(password_field);
usuario = user_field.text;
contrasena = password_field.text;
if(usuario == 'Elliot')
{
if(contrasena == 'elliot')
{
gotoAndStop('Home','Contenido');
}
else
{
gotoAndStop('Retry');
}
}
else
{
gotoAndStop('Retry');
}
}

View Replies !    View Related
Login Password Box
hey all i need some help,
i wanna make a certain part of my project only for people that have the loginpassword to be able to see it. please help me out

View Replies !    View Related
Password And Login
i have created a password and login "thing".

in the first frame is two input textfields (login & password) and a button that has the script:

on(release)
if(login eq "User" and password eq "secret")
gotoAndStop(2)
else
gotoAndStop(3)

frame 2 says "connecting to site..." and has the script:

getURL (C:webpagehome.html, _parent)

frame 3 says "wrong, try again" and has a back button that contains the script:

on(release)
gotoAndStop(1)

how can i add multiple login and passwords successfully without it screwing up or being able to mix-n-match the login and passwords

View Replies !    View Related
Login & Password
I want to create a log in and password together. Does anyone know what I’m missing

Here is what I did:

on (release, keyPress "<Enter>") {
if (pw.toUpperCase() eq "ASDF") {
if (un.toUpperCase() eq "ASDF") {
gotoAndStop("cleared");
} else {
gotoAndStop("declined");
}
}
}

but, if one or both of the fields are incorrect it does not stop at “declined”

is the answer right in front of my face?

Any help would be appreciated.

Please post answer here | do not email me | I’m at work

Thanks again in advance!

View Replies !    View Related
Password Login
on (release) {
if (username=="kenneth" & password=="9" or username=="Velg ID" & password=="3") {
gotoAndPlay("start");
} else {
gotoAndPlay("again");
}
}

iv copied text from the book "foundation actionscript",.. tried tutorials on flashkit and i cant find out why

the code jumpes over the <if> and always goes to <else>...
iv tried username and password alone in the code, but.. it always goes to else when i test it...

so frustrating

View Replies !    View Related
Password Login
Hey guys,
I am trying to create a password protected section on my site. I already know how to create a username/password with actionscript but my question is... is it secured? I heard that one can also be created with PHP with serverside txt file and that its alot more secured . Any advice/help is greatly appreciated.


Thanks in Advance.

View Replies !    View Related
Login And Password
I have been asked to create a home page in flash and they need a section for a login/password. I can put the text fields in, but then what? (Flash 4 mac)

View Replies !    View Related
Password Login Help
flashers,

I am putting together a flash login site. i have a makeshift .fla that i have ben working on to test this out. the log in works fine, but for only one user/password. what i need is the ability to add/remove as many accepted passwords i choose. can anyone who is mighty in the scripting help me out. i used the flash tutorial from flashkit as my code logic.
thanks.

DK

View Replies !    View Related
Login And Password
how do you make a log in and password iwthin a flash movie?...

View Replies !    View Related
Login / Password Question
sup fk...

what code will allow me to clear the text fields once a user fills in the login and password fields and then clicks the enter button?

View Replies !    View Related
Password Login For Flash 5?
I'm trying to get a password movie clip to work with two scenes. Basically the MC is on scene 1 and when they enter the correct password, it would take them to scene 2 and then the designated scene. Any ideas on how to accomplish this? The code below is what I thought would do it, but doesn't seem to work...why?

on (release) {
if (login == "password") {
gotoAndStop ("Scene 2", 1);
}
}

many thanks in advance!
shaggy

View Replies !    View Related
Password -login Help For Flash
Mac8myPC-Mac8myPC-4789

that is the program i got off of this site. i want to use it to make parts of my site password protected.. i figured out how to add the usernames and passwords but i dont know how to add the fowarding url after they successfully login.i will send the file and the url that i want it to go to... if some one can help...please thanks....

View Replies !    View Related
Login And Password Authentication
Ok...Here goes...
I was just going to create a simple website in Flash for my employer to replace the old, dated html site. Well in the middle of my project I find the the company will now be offering a new product. They have combined efforts with another company that currently has a web based online product. What I have been asked to do is set up a member verification login. Each plan participant will be assigned a user name and password. What I am trying to do is to create a login and password authentication page that would verify the individual as a plan participant and then allow them to continue to the other company branded site. Can this be done in Flash? Seems like this would be a perl script or something. I have no experience with this but I am willing to give it a shot. Any help or suggestions would be greatly appreciated.

View Replies !    View Related
User Login And Password
Could somebody tell me how I might validate a username and password using flash? Nothing complex, just something that verifies if the entered values are the same as the defined values.

I know how to make an input field, but I dont know how to submit, and I dont know enough actionscript to make a validating function.

Thanks for any help.

View Replies !    View Related
Password Login Help Needed...
Hi,
I am trying to set up a simple login text field that would open another htm page. I have tried a few times, but I am not quite up to the variables involved I guess, in other words a newbie Anyways, if someone could take a look at the file attached and give me a few pointers in the right direction on the action scripting etc, I would appreciate it.

Thanks, Glen.

View Replies !    View Related
Login/Password Problem...please Help.
Hi Everybody

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.

Below is the code I had in HTML/Javascript.

<form name="form1" method="post" action="http://www.onlinekmc.com/validate.asp">
<table width="14" border="0" align="center" cellspacing="0">
<tr valign="middle">
<td align="center"><div align="left"><strong><font color="#333333" size="2" face="Garamond">Client
Login: </font></strong></div>
</td>
</tr>
<tr valign="middle">
<td align="center"><div align="left"><font color="#990000" size="2" face="Garamond"><strong>Username:</strong></font></div>
</td>
</tr>
<tr valign="middle">
<td width="78" align="center">
<div align="left">
<input type="text" name="strusername" size="10" maxlength="30">
</div>
</td>
</tr>
<tr>&nbsp;&nbsp;&nbsp;&nbsp;
<td align="center"><div align="left"><font color="#FF0000"><strong><font color="#990000" size="2" face="Garamond">Password:</font></strong></font></div>
</td>
<tr valign="middle">
<td align="center">
<div align="left">
<input type="password" name="strPassword" size="10
" maxlength="30">
</div>
</td>
</tr>
<tr valign="middle"> &nbsp;&nbsp;&nbsp;&nbsp;
<td align="center">
<div align="left">
<INPUT TYPE="SUBMIT" NAME="submitForm" VALUE="Submit">

Your help is appreciated.

Thanks

Sean

View Replies !    View Related
Client Login And Password
I have an input text field called loginID and passID everything seems to work fine except for the on(press) when I hit enter everything works and the new .asp page loads but when I press the button to advance, it refers to the else and plays the INVALID PASSWORD mc.
Any suggestions would be great.

on (press, keyPress "<Enter>") {

if (loginID add passID eq "captain" add "america") {

getURL("http://www.p2studios.com/flash_content/login/loginscript_Temp.asp", "_blank", "POST");

} else {

tellTarget ("_root.CLIENT SECTION.INVALID PASSWORD") {

gotoAndPlay(2);

}

}

}

View Replies !    View Related
Client Login And Password
I have an input text field called loginID and passID everything seems to work fine except for the on(press) when I hit enter everything works and the new .asp page loads but when I press the button to advance, it refers to the else and plays the INVALID PASSWORD mc.
Any suggestions would be great.

on (press, keyPress "<Enter>") {
if (loginID add passID eq "captain" add "america") {
getURL("http://www.p2studios.com/flash_content/login/loginscript_Temp.asp", "_blank", "POST");
} else {
tellTarget ("_root.CLIENT SECTION.INVALID PASSWORD") {
gotoAndPlay(2);
}
}
}

View Replies !    View Related
External Login/Password? MX
I was wondering if this would be possible. If Flash could detect an external .txt to see if the dynamic username and password would be correct, and thus allowing them to enter the flash. Instead of editing the username and password everytime a newcomer comes in...

If this is possible Can someone tell me in a short tutorial?
Thanks

View Replies !    View Related
Login And Password Movie
hi...
i wonder if there is a way to simulate a login and password inserting into a textfield with actionscript...
any help apprecited..
thanx in advance

View Replies !    View Related
## Password Login Script
I had beed searching for a password login script that is quick and easy. After pulling my hair out I decided to wipe the slate clean and write one. A few tests and I got it going. Thought I would share with you all. Maybe it would help someone who also is looking for an easy method of dealing with users.

I would like some feedback on the possible security issues with this script.

This scripts is designed to allow each user to have a password, or the sysadmin could issue it. The user list can be added to easy and quick. So without further guilding the lilly...

Password Login Script
Code:

//====================
// First Frame
//====================
Name1 = "Name1Password"
Name2 = "Name2Password"
//
stop();
//====================
// In Frame
//====================
input textbox = name
input textbox = pass
Dynamic textbox
invisable button
//====================
// Action on invisable button
//====================
on (keyPress "<Enter>") {
if (eval(name.text) == (pass.text) )
result.text = "Passed login";
else {
result.text = "Failed login.";
}
}

View Replies !    View Related
Random Password Gen And Login
Hi all, want to make a flash website that viewers can login and get greater access, but I am totally unaware how to do that. Can it be that they can select their own user/pass and login? HELP! I feel soooo uneducated in this realm. Thanks!

View Replies !    View Related
Login/Password Problem
Hi Everybody

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.

Below is the code I had in HTML/Javascript.

<form name="form1" method="post" action="http://www.onlinekmc.com/validate.asp">
<table width="14" border="0" align="center" cellspacing="0">
<tr valign="middle">
<td align="center"><div align="left"><strong><font color="#333333" size="2" face="Garamond">Client
Login: </font></strong></div>
</td>
</tr>
<tr valign="middle">
<td align="center"><div align="left"><font color="#990000" size="2" face="Garamond"><strong>Username:</strong></font></div>
</td>
</tr>
<tr valign="middle">
<td width="78" align="center">
<div align="left">
<input type="text" name="strusername" size="10" maxlength="30">
</div>
</td>
</tr>
<tr>&nbsp;&nbsp;&nbsp;&nbsp;
<td align="center"><div align="left"><font color="#FF0000"><strong><font color="#990000" size="2" face="Garamond">Password:</font></strong></font></div>
</td>
<tr valign="middle">
<td align="center">
<div align="left">
<input type="password" name="strPassword" size="10
" maxlength="30">
</div>
</td>
</tr>
<tr valign="middle"> &nbsp;&nbsp;&nbsp;&nbsp;
<td align="center">
<div align="left">
<INPUT TYPE="SUBMIT" NAME="submitForm" VALUE="Submit">

Your help is appreciated.

Thanks

Sean

View Replies !    View Related
Password Login Tutorial (Pls Help Me)
HI, This is my first time posting something in this website so im new anyways,

Can anyone tell me the tutorials to make a "Password Login" for Flash MX?

Thank You for your time and your help.

View Replies !    View Related
Login/Password Problem
Hi Everybody

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.

Below is the code I had in HTML/Javascript.

<form name="form1" method="post" action="http://www.onlinekmc.com/validate.asp">
<table width="14" border="0" align="center" cellspacing="0">
<tr valign="middle">
<td align="center"><div align="left"><strong><font color="#333333" size="2" face="Garamond">Client
Login: </font></strong></div>
</td>
</tr>
<tr valign="middle">
<td align="center"><div align="left"><font color="#990000" size="2" face="Garamond"><strong>Username:</strong></font></div>
</td>
</tr>
<tr valign="middle">
<td width="78" align="center">
<div align="left">
<input type="text" name="strusername" size="10" maxlength="30">
</div>
</td>
</tr>
<tr>&nbsp;&nbsp;&nbsp;&nbsp;
<td align="center"><div align="left"><font color="#FF0000"><strong><font color="#990000" size="2" face="Garamond">Password:</font></strong></font></div>
</td>
<tr valign="middle">
<td align="center">
<div align="left">
<input type="password" name="strPassword" size="10
" maxlength="30">
</div>
</td>
</tr>
<tr valign="middle"> &nbsp;&nbsp;&nbsp;&nbsp;
<td align="center">
<div align="left">
<INPUT TYPE="SUBMIT" NAME="submitForm" VALUE="Submit">

Your help is appreciated.

Thanks

Sean

View Replies !    View Related
Password Login Tutorial (Pls Help Me)
HI, This is my first time posting something in this website so im new anyways,

Can anyone tell me the tutorials to make a "Password Login" for Flash MX?

Thank You for your time and your help.

View Replies !    View Related
Flash - Login And Password
Hi all -

I want to send a post command to a PHP page via flash... Basically, its a webmail login page in HTML that I want to be in flash.


Quote:




1: <form method="Post" action="http://yourmailserver/sm/src/redirect.php">
2: <center>
3: <table border="0">
4: <tr>
5: <td>Email Address/td>
6: <td><input type="text" name="login_username" size="16" maxlength="128" /></td>
7: <td></td>
8: </tr>
9: <tr>
10: <td>Password/td>
11: <td><input type="password" name="secretkey" size="16" maxlegth="128" /></td>
12: <td><input type="submit" value="Login" /></td>
13: </tr>
14: </table>
15: </center>
16: </form>




I'm not a flash expert, but this doesn't seem like it would be that hard... When I try a "post" it doesn't seem to go to the redirect page. When I do I "get" it doesn't seem to send the variables?? Any ideas.

View Replies !    View Related
Login And Password - From A .txt File?
I downloaded a login and password thing to see how it works and how I would make my own.
Unfortunatly the .fla I downloaded, had a bug in it and required you to press enter twice to get in.

I thought this would be the safest way. I DO NOT want to have the login and password in the actionscript because that is to easy to hack.
What im basically looking to do is have a .txt file where the name of the .txt would be the login, and inside would read password= w/e.

So it would be like this: if the login was "admin" and the password was "default"

admin.txt inside it reads password="default"
so that would be 1 log in and password. But the client wants to have multiple logins which can be easily edited and deleted.

Somhow I have to make it read from any .txt file and if the login matches the password would let you in. This is really confusing :P

If anyone has any ideas, or better suggestions for a secure login and password please let me know.

Thanks fellas.

View Replies !    View Related
Username And Password Login?
How can i make a login with username and password in flash???
I want the password and the username be saved in the swf file.

thank you!

View Replies !    View Related
User Name And Password Login Help
How can I make the user text and the password input text work together for a a log in page in AS 3.0

the input text instance for username = user_txt
input text instance for password = pass_txt
enter button instance name = enter_btn

code is here but not working, I don't know what I am doing wrong.

Code:

/*We need to add variables for the Users and Passwords*/

//var for users
var users:Array=[
            "todd",
            "erick",
            "jimmy",
            "jon"
            ]

//var for password as well
var pass:Array=[
            "6998",
            "4554",
            "6558",
            "4778"
            ]

/*Event Button For User Name And Pass Word Enter*/

//enter button event listener
enter_btn.addEventListener(MouseEvent.CLICK, onClick);



//function
function onClick(event:MouseEvent):void
{
   //user a for loop
   for (var i1:Number = 0; i1<users.length; i1++);
   for (var i2:Number = 0; i2<pass.length;  i2++);
   {
      if(users[i1]==user_txt.text){
         trace("Access Granted");
      }
      else if (pass[i2]==pass_txt.text){
         trace("Access Granted");
      }
      
   }
}

View Replies !    View Related
100% Secure Password Login Sequence
Music Man said in a post to check and verify a password server side..

Agreed... But once the, server side PHP script has cross referenced the MySQL database for a username/password match, the script then needs to send a variable access boolean back to the client. But surely this could be easily manipulated/spoofed client side (Like packet sniffing, but outputting rather than listening).

Could you perhaps encrypt the access variable with the password (server side), send it to the client & then the client can unencrypt the access variable with the user inputted password variable? Only one flaw with that is you are ultimately going to have to have if(access == 1) in the swf which can apparently be opened and manipulated!!

Is there a crack proof login sequence available?

Qwik-Silver

View Replies !    View Related
Flash Password Login Problem
hi, i have a problem with the login screen i'm trying to make with flash mx and hope u guys can help me out. i checked out the tutorial but it doesn't apply to mine.

it goes like this..

user sees a blank swf with just 1 blank field for password.

correct pass = proceed to my preloader
wrong pass = nothing happens

i can only guess that i would be using the "if" and "gotoandplay" commands.

i do not want use any username, just the password field will do. so i guess it would be quite a simple one. just that i'm dumb enough not to know that.



u gurus tell me pls what code to put.

*desperate*

View Replies !    View Related
Help With Username And Password Registration+Login
Okay, i'm trying to get flash actionscript to go to a PHP file and all that, which works.. But I need help on the URL part of it.. the current is


Code:
on (release) {
if (RegName ne "") {
Status = "Beginning registration Process... Please Hold";
loadVariablesNum("Register.php?RegName="+RegName+"&"+random(999) , 0);
} else {
Status = "Please enter a User Name to register";
}
}
and

Code:
on (release) {
if (Name ne "") {
gotoAndPlay(2);
Status = "Beginning Login Process.. Please Hold";
loadVariablesNum("Login.php?Name="+Name+"&R="+random(999) , "0");
} else {
Status = "Please enter a User Name";
}
}
Now, my problem is I need to make it where it will register the password and read the password also in that one line, if I make it in sep. lines like this

Code:
on (release) {
if (RegName ne "") {
Status = "Beginning registration Process... Please Hold";
loadVariablesNum("Register.php?RegName="+RegName+"&"+random(999) , 0);
loadVariablesNum("Register.php?RegPass="+RegPass+"", 0);
} else {
Status = "Please enter a User Name to register";
}
}
It adds 2 diffrent tables, one for username then another for password..
Can anyone help?

View Replies !    View Related
[F8] Probs Making A Login Password
hi all,

I've got a probblem and cannot solve it....

the login and pass are 'azerty'. as long as i use a word it says i cannot login
if i change the password and login in '' it works

any suggestions?

View Replies !    View Related
Problems With Code In Login/Password
hi sorry i'm a newbie,

this may be an easy question for some of you. I've looked at over a dozen websites trying to find the code. I need to make a reset function that sets the login back to the default code. I have a reset button made, but i'm a little stuck on the code. If you could help me that would be great, or if you know a website that could help me even better thanks!

this is what I have so far:


ActionScript Code:
this.userName = "zara";
this.passWord = "loser";
name_txt.text = "enter name";

password_txt.text = "enter password";

password_txt.maxChars = 5;

name_txt.restrict = "a-z 0-9";

name_txt.onChanged = function() {
    trace(name_txt.text+" is the content in textfield");
};
name_txt.onSetFocus = function() {
    trace("name_txt has the focus");
    //item easing style, starting value, ending value, number of frames, useTime
    new Tween(this, "_alpha", Strong.easeOut, this._alpha, 100, 15, false);
};
name_txt.onKillFocus = function() {
    trace("name_txt NO LONGER HAS the focus");
    new Tween(this, "_alpha", Strong.easeOut, this._alpha, 50, 15, false);
};

password_txt.onSetFocus = function() {
    //item easing style, starting value, ending value, number of frames, useTime
    new Tween(this, "_alpha", Strong.easeOut, this._alpha, 100, 15, false);
};
password_txt.onKillFocus = function() {
    new Tween(this, "_alpha", Strong.easeOut, this._alpha, 50, 15, false);
};
submit_btn.addEventListener("click", this);
function click() {
    trace("button has been clicked");
    if (name_txt.text != "enter name") {
        if (password_txt.text != "enter password") {
            trace("validated!");
            checkLogin();
        }
    }
}

function checkLogin() {
    if (name_txt.text == this.userName && password_txt.text == this.passWord) {
        trace("login has occurred");
    } else {
        trace("you suck. you failed to login properly dumbass");
    }
}
Key.addListener(this);
function onKeyDown() {
    if (Key.isDown(Key.ENTER)) {
        trace("ENTER IS DOWN");
        click();
    }
}

View Replies !    View Related
Login/password Authorization Scheme
Hello.
How basic login/password authorization scheme in Flash applet for upstreaming and FMS can be realized? Namely how login and password entered in applet can be transmitted to access or authorisation plugins in FMS?

Thanks in advance.
Mike.

View Replies !    View Related
Simple Username/password Login
Hi.
Been using adobe flash cs3 for a school project and i need to make a simple username/password login for the project. The problem is that, when using various tutorials in various websites, like this one:

http://www.webdesign.org/web/flash-&-swish/flash-tutorials/simple-user-name-and-password-login.5027.html

for this to work i have to publish in actionscript 2.0, and when i do that, the rest of my project stops to work.

Is there any way i can do the login application in cs3 without having to change my entire project ?

thx

View Replies !    View Related
How To Give Login Window, Username And Password
Hi,


In my movie i have a button that opens an FTP connection to a server via a web browser. A popup occurs asking me to log in. This popup is separate and is not imbedded in the browser.

How can i get Flash to pass the username and password automatically, without the need for me to login.


I have tried everything with no luck!

please help!

thanks


umark

View Replies !    View Related
'Email Me My Password' In Flash Login Page
Hello,

I'm creating a simple login page and wanted to include a 'forgot your password' button that a user can click which will run the actionscript that will email their password to them.

Is this possible in Flash?

Regards
Robert

View Replies !    View Related
Security - Login - Password - Dynamic Loading
Hey.

I'd like to realize a full flash website. Before I throw myseelf into it, I try to think of the different necessary steps.

Right now I have troubles with some questions to which I hope you'll have some answers.



So the site will be structured as a main flash movie contained in a PHP webpage. The main movie loading MC on the fly depending of the button menu pressed. Nothing special really.



1) Since the main flash movie will have to communicate with a database, the only solution is to include the connexion infos (server , login , password) into the main movie. However if one tries to decompile the file, he will have access to those infos and might delete the database. Really it's not safe, and I'd like to know if there are some tricks that would solve this problem.



2)For a part of the website I'd like the users to be logged in. Once again it requires a database communication. But is it possible to use the session variables of PHP ? Actually I don't know what's the best way of managing such a thing into a full flash site (the main flash movie having to check that the visitor is logged in).



3) I'd like to have a news managment in flash. To sum up in the database I'll have some text lines, and a few url to pictures. When the visitor arrives on the news page I would like to dynamically load the required texts in a specified format , and to load the images into independant MC. I would create a MC apart including a mini preloader, just to be the container for the photos. IS it easily to realize that.





4) Still using dynamically loaded MC, I'd like to realize a photo gallery , entirely in Flash. Untill now i haven't seen any example that fits what I have in mind. IF you understand what I mean and have some ideas ...



Thanks for any help

View Replies !    View Related
Login - Password Protected Content/page
I scanned the net for the best way to provide a login protection for the site I am working on. One that enables those with the relevant username and password to access a page that holds protected content.
The method I have put in place is inherently coded in flash and utilises a separate text file to hold the username and password information.
It all works swimmingly telling the user if they have the wrong info, and logs them in nicely when the correct details have been typed in. But I discovered a major flaw in it recently that has me baffled.
If you type in any random text into both the username and password input boxes, then delete it all, you can then click the login button and heh presto you're in. Not very good at all.
You can see this in action as the site is up and running at www.safetybusiness.co.uk
Go to the VIP page.

There are two input text boxes with the variables 'loginname' and 'loginpass' and a dynamic text box called 'status'
Here is the code i have given the login button:

on (release, keyPress "<Enter>") {
if (loginname != undefined and loginpass != undefined) {
if (eval(loginname) eq loginpass) {
loginname = "";
loginpass = "";
gotoAndStop(132);
} else {
status = "login details incorrect";
}
}
}

Any ideas would be greatly appreiciated....or a suggestion for an alternative successful method would also be most welcome.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved