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




Login Over Two URL's



Hello,
Have a stumbling block on a project that i am working on. I have recently produced a second flash site for a client both of which are on different URL's. Both have logins but the client has now decided that he only wants people to have to log in once. My problem is how do i pass between the two sites wether the person is already loged in?



FlashKit > Flash Help > Flash General Help
Posted on: 04-25-2004, 07:33 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

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

Login->page Refresh->login Again?
Hi!

I'm making a chat project for my site... I've got a little(maybe BIG)problem now..

problem: When the user enter the chatroom, it requare to put nick name(of course), after when the user logged in, the chatroom understand as that nicked USER is online, if he/she REFRESH the page... flash movie start from begining :'( , that means that user is known as logged in, but he/she is in login stage again...

that seems to be a problem... pls give me a hand(any advices or ideas or Action Script to fix the problem)... pls...


thanx in advance

-GM

Login Count And Last Login
Hi.

I have created a user authentication system using AMFPHP and MySQL with as3. It works by looping the MySQL database, and if there is a match = gotoAndPlay("Success frame").

I also want to create a login counter, to count how many times the particular password has been used and a lastlogin timestamp for checking when the password was last used.

I have tried some different thing and tried searching for a tutorial, but no luck.

Can anyone suggest a method to creating this?

Thank you very much!

Login?
I got a question on doing a log in forms in flash.
could some one explain me this thing?
I see alot of them on other websites, like it would say: Member login, do i have to have a server????
Or could anyone explain to me how to do a login in regular HTML page.

Thanks for your help in advance.

Login Help....
My page has a secret section which can only be accessed when you press certain keys.
What I wanted to do is, when the person presses those keys, it asks them for a password, and then open the secret page, that is, if the password is right.
How can I do this?
Thank you for your time!!!

.jsp Login?
OK,

I have a login page designed in .jsp, and I want to transfer the ugly .jsp login into flash where I can incorporate it into a nice-looking navbar.

Any ideas how I can do this? I know I need to specify the textfields and submit buttons... where do I find these options in MX?

Thanks,

Joe

.jsp Login?
OK,

I have a login page designed in .jsp, and I want to transfer the ugly .jsp login into flash where I can incorporate it into a nice-looking navbar.

Any ideas how I can do this? I know I need to specify the textfields and submit buttons... where do I find these options in MX?

Thanks,

Joe

Login Help
I am making a game witch you login to. I got all the login things completed. It only dose the correct names and passes, but now i want it to go to diffrent frames for diffrent usernames. Here is the working code that bring all the correct one's to the same frame:


on (press) {
user = ["rctroub", "johnjg75", "sdhonda153", "rctroub89", "betatest", "mmfan"];
passes = ["test", "test2", "test3", "test4", "beta", "winner"];
logged = _root.login.text;
passed = _root.pass.text;
for (var i = 0; i<user.length; i++) {
equaled = user[i] == logged && passes[i] == passed;
if (equaled) {
gotoAndPlay("High Rev-rctroub", 1);
break;
} else if (i == user.length-1) {
_root.message.text = "Username or Password invalid. Please try again. ";
_root.message.text += "";
}
}
}


Dose anyone know how to make rctroub go to one scene, and mmfan to go to another? Thanks for the time.

*Note: The .fla is too large to poast

Login Help
Ok, so I'm making this program that sends you to a website that asks you to login. If I already know my password and login name, how to I tell Flash to automatically login without me having to login when I get to the page? If you want an example of the page I'm forwarding to Mail2Web.com

Someone please help and e-mail me the answer at alli@boundarywatersboy.com

After Login
how would i go about this...
frame 1- the user logins in with username and password
they then go to frame 3
frame 3- (i would like frame 3 to display their username somewhere on the page) how do i, for example, copy the username and place it on frame 3? thanks a ton

Login
so i have a frame that you log in on, if they get the password and username correct they go to frame 3.
ok, but what if they get it wrong. well then i want to send them to frame 2 where it tells them they were wrong.
for the right password code, i am using

on (release, keyPress "<Enter>") {
if (userName == "ken" && passWord == "carnes") {
gotoAndStop(3);
}
}

what do i add to that to send them to frame 2 for wrong?
it seems to me that you would just put
if not (userName == "ken...
but its just not that simple

Login
How would you add one or more users and passwords to a login?

Login Box
Hi,

I am new to flash and action scripting. I would like to use flash to prompt user for user name and password. If invalid, it will display a message saying re-enter. If correct, it will direct user to my default home page. Does anybody knows such a flash resource available that someone already put the time to put it together? Please let me know.

Thanks,

Lan

Login
hi
i wanted to make a page with a login-field. i tried several things but at the end it never worked.
i have to input-fields.
the on´s varname is "password" the other ones "username"
now i have a button
it´s as-code is like that:

code: on (release) {
user=username;
pass=passwort;

if (((user == "ovi") && (pass == "alphabet")) || ((user == "ovi1") && (pass == "alphabet1"))) {
gotoAndPlay(2);
}else{
gotoAndPlay(1);
}

}

it doesn´t matter what i type in the input-field i always get to frame 2 when i press the button.
you know the reason???

here´s the .fla-file (Flash MX)

Login .fla
I am posting the .fla file for the login I want for my site. When you hit "our store" at--http://www.tsigold.com, it goes to the products part, I want this to go to the login .swf first then after you hit close when you done login in it takes you back to products. How can I make this work
I tested it and gave the our store button a
on (release) {
getURL("members.swf");
}
it takes it to the login page fine but I want the close button to take it back to the website for shopping. I tried it and nothing happens, I get the members page to come up but I can not get it to store any info in the text file

Login
i am making a virtual pet type of thing in flash just to try out some new action script i have learnt but i would like it to be able to have a loging feature so that it would be able to remeber the progress of the pet/thing. How would i go about doing this

thanks

[F8] Login
If I were building a flah website how would I have people login and have accounts for an interactive site or game

[F8] Login Help
O.K., I have this flash working(kinda) but, I want it so you can sign up(done this) and you dont have to sign up again. so you can just login...

How?

XeneX

Login
I want to have one text field for multiple users. Depending on the users password they will be sent to different pages. How can I do this? I use flash 8 but I am not a programmer.

AS3 Login Without SQL
Hello,

I've searched long and hard, but couldn't find any tutorials on an AS3 login using PHP to store the correct username and password but not using SQL. Can a movie published with Flash Player 9 be decompiled, making the option of storing it in the movie impratical?

Regards,

Richard

.NET Login?
Can anyone help me with a Login using Remoting .net and Sql?

Want to process login and redirect to a movie_clip..

Seems like its lonley in here.

Login
Hello,
Can anyone please help me with the next thing:

I've made an videochat using 4 av screens, 1 chat, and the simple connect. Working fine. But now my question. I want to login with variables wich I get from a text file, for example username=sjonnie&. I want this because I don't want to login again in the flash movie, I only want to login with my php (which parsses the variable). Simple connect stays but not visible

Can I do this with loadVars?? Where do I have to put the actionscript? Is there a way??

Please help me

Login
Hi,

Does anyone know how to make a login form using Flash and connect it to the database?
Thanks

Login
how do i make a login and password in flash for loads of users,
and when they login it is custom for them EG:

peopone
this is my password

and when that person logs in it says:

hello peopone, you have no new death threats.


or something thanks a hell of a lot

you faithfull and nonindipendent noob, infl8

Login Without Using Php
is it possible to login without using php , if i have saved the information in a text file.
anyone can help me ?

Login Help
Code:


on(press)
{if (username=="blazes816") & (password=="password") {
gotoAndPlay(3);
}
else {
gotoAndPlay(2)
}}

Quote:




**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Unexpected '&' encountered
{if (username=="blazes816") & (password=="password") {
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 5: 'else' encountered without matching 'if'
else {
Total ActionScript Errors: 2 Reported Errors: 2




I know the problems but what can I do instead of '&'. And what 'else if' can I do so that any other username or password go to frame 2.

AS3 Login Without SQL
Hello,

I've searched long and hard, but couldn't find any tutorials on an AS3 login using PHP to store the correct username and password but not using SQL. Can a movie published with Flash Player 9 be decompiled, making the option of storing it in the movie impratical?

Regards,

Richard

Login
Hi,

Does anyone know how to make a login form using Flash and connect it to the database?
Thanks

Login
how do i make a login and password in flash for loads of users,
and when they login it is custom for them EG:

peopone
this is my password

and when that person logs in it says:

hello peopone, you have no new death threats.


or something thanks a hell of a lot

you faithfull and nonindipendent noob, infl8

Login Without Using Php
is it possible to login without using php , if i have saved the information in a text file.
anyone can help me ?

Login
Hi, again

I've got a login file:
www.123-solutions.co.uk/Other
That has a load of stuff in it.

But it doesn't work.

Can someone look at it and see what's wrong.

Thanks Sephers181

User Login
I have created a simple user profile, which I will give some style to eventually, that allows particular usernames to log in if they input the correct password. I want people to be able to update their own profile, but so far haven't managed to figure out how a loaded variable can be written to.

At the moment, the user can log in and change their password, but if the .swf is closed, it reverts back to the default. I can load in an external variable from a .txt file, and this works ok, but then I can't update the text file from within Flash.

I want users to be able to change their password, and this to stay changed. This means that the variable must be written to the text file (or if there is an easier way, please let me know).

Anyone suggest how I can do this? I have been using Flash for a long time (since Flash 4 first came out), but I have some sort of deficiency that stops me from being able to learn programming. I will never understand Action Script, but if someone is able to explain hw I can do this, I'd be grateful.

Thanks in advance.

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

Php Client Login........
Hey Guys

Just wondering if any one knew of a good php client login with password, that runs with flash, which is very secure and does,nt run on a SQL database..

I have tried FK tutes and movies but no luck....

THX HEAPS

mdesign

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

Username/login
I want to make a place were I can have sertain people login to it, and depending on there username, load a different text in a text box.

I don't know if i am making sense...

*someone signs in
*a page comes up with a text box
*depending on username different text in text box

Any help would be great!!

Members Login
i must admit i am relatively new to FLASH,
thanks to anyone who can help me further...

I have 2 input boxes, 1 for username and 1 for password..
I have named them according and entered those same details in the variables field...

I have drawn a submit button, (as i dont want to use FLASH MX's push button components due to combatibility issues with FLASH 5) and turned that to a 'button symbol'. I assigned an actionscript to that button

on (release) {
getURL("http://myserver.com/verify.asp", "", "POST");
}

that didnt work, it only linked me to my registration page...

i applied
loadVariables("http://myserver.com/verify.asp", "this", "POST");
to my login button, now the button is not working...

Please i really do need help with this, can someone tell me what im doing wrong or what i should be doing or where to apply that loadVariables function?????????

Much appreciated in advance

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!

Login Page
I'm creating a login page using Flash MX and ASP.Net. The coding works except for this one:
if (typeof (valid)<>"undefined") {
blah = valid;
if (valid == 0) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
if (Submit<>true) {
stop();
}

There isn't any syntax errors and it works except for the fact that it skips : if (valid == 0){
gotoAndStop(4);
Why is it skipping that statement?

Flash Login Help
Does anybody know of a tutorial that will enable me to create a username and password login swf that connects to a MySql database using PHP? Then once the user inputs the correct username and password the timeline moves to the next frame or loads another swf file.

Thanks

Paul

Login System
Ok say you go to my web page and your looking around only to find that you CAN"T download anything? every ware there is a download it say you need to login in oder to download so you go and reaster and login and POW you can download stuff.

How can i do this?

......Help With Arrays And Login.....
Greetings all,
Flash 5
I need to know how to best have multiple user and password options for login of a site. I was thinking of having an array with all of my users and passwords in it and having a function that goes through the array. My only problem is I don't know how to do this.
I currently have a simple if statement that checks for matches, but I thought this could get messy if it got too long.
Also if anyone can tell me how to have someone choose their own user name and password that is maybe, kept in an external asp file, I would love to learn that as well.

Thanks buckets
ChrisG

Login Screen Help
I have a login screen inside of a movie clip and i placed that mc inside another mc that makes the login screen path tween. I then placed that mc on the main stage. the problem is when i click the login button nothing happens.

Here is the code for my login button:
on (release, keyPress "<Enter>") {
if (user add pass eq "client" add "access") {
gotoAndPlay("Success", 1);
} else if (user add pass ne "client" add "access") {
gotoAndPlay("denied", 1);
}
}

I did notice that when i place the login screen on the main stage outside of the mc's that it works fine. Can someone help with this matter. What am i over looking? THANKS!

Loops Login
I can't seemed to get logged into "my loops" today....on several different computer its says I need to clear out cookies....still not working, any tips?

Login Flash Php Or Cgi?
hi,

i have a page i want protected, so that only registered users can see it.

How can i set up such a system where you can register, have a password sent to you , and then proceed to login?

I need to be sent or explained how this can be done without a db,
as i am really clueless at creating them.

Unless someone knows a simple way.

Thanx for any help in advance

Login Code: Is This OK?
I was trying to convert a simple html login to a .swf :
form name="FormName" action="login.php" method="post">
input name="email_t" type="text" value="">
input name="submit" type="submit" value="LOGIN">
(I have left out the beginning < so you can see the code not it's output)

Well I got it working but it can't be clean code, I put this in the button (which is named 'submit_btn')


Code:
on (release) {
v = new LoadVars();
v.name = email_t;
v.send("login2.php", "_self", "POST");
}


and this as an action on frame 1 (there is only 1frame anyway)


Code:
submit_btn.onRelease = function() {
getURL("login2.php", "_self", "POST");
};


is this OK?
Still as I say, it works
Thanks

RigorM

Login Problem
Ok, i created in delphi a little script which checks the first letter of the username the client provides in the box. If the first letter is for example "t" in the username and the password is "whatever", then it does the appropiate action. Here is how the code looks in delphi:

function IsFirstLetterT(AValue: string): Boolean;
begin
Result := AnsiSameText(Copy(AValue, 1, 1), 'T');
end;
begin
if (IsFirstLetterT(username.Text)) and (password.Text = 'good') then
begin
showmessage ('ok')
end
else
begin
showmessage ('bad')

How should i do this in flash. I have created the username and password box and assigned names to them. But what would da code be when they click login ?

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

MX Login Frame
I am working on a flash that i want to require a username and password, but you can signup providing you have a cdkey. I am almost there but at a deadlock with actually checking the input text to the stuff that is saved. The code i am using:

to save it:
on (release, keyPress "<Enter>") {
if (serial eq "am2-243-7843") {
mydata = SharedObject.getLocal("loginInfo");
mydata.data[+login+name] = login;
mydata.data[+pass+name] = pass;
gotoAndPlay(1);
}

and to recall it:
on (release, keyPress "<Enter>") {
if (name eq "") {
status = "Please Enter your name";
} else if (name eq "") {
status = "Please Enter Your Username.";
} else if (pass eq "") {
status = "Please Enter Your Password.";
} else {
mydata = sharedobject.getLocal("logininfo");
if (login eq mydata.data[+login+name] and pass eq mydata.data[+pass+name]) {
gotoAndPlay(3);
}
}
}

it doesnt seem to save the varibles, that or it is not recalling it correctly. If anybody knows what i am doing wrong it would be great. I already know that this only works locally, and i export it as a standalone.

Copyright © 2005-08 www.BigResource.com, All rights reserved