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








Help.. How To Make Login Page..


hi there..
I have some problem while making login page...
I use flash to connect with ASP script that connected to Ms SQL server..

so this is what I'am doing... I send input variable to asp script and cheked the username and password in SQL table then replied to flash...

I did good so far.. I made a flash.. that will tell me if the username and password is exist and macth in the sql table. It did tell me

bUt I have a problem how to jump to .asp page after the checking session over...

so... I want.. the flash go to some url in the same page after the checking session over

I tried using getURL and loadVariableNum but it didn't work
so please help mee...

o iya.. can I make a Database looping inside the flash clip? so may be like embeded databse or something like Iframe in html

thank you very much




Ultrashock Forums > Flash > Flash Newbie
Posted on: 2005-01-04


View Complete Forum Thread with Replies

Sponsored Links:

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

View Replies !    View Related
Sending Variable To Php Page - Login Page
I'm trying to login to a password protected php page through a form in flash.
When the user provides correct information the flashmovie opens a php-page, but how do I protect the php page from unautorized accesses?

Can I send a variable containing the user/pass given?
I know I could tell flash to "getURL www.address.com/admin.php?user=user&pass=12345", but then everyone who checks history can access the page without even having to access the flash page...

Anyone getting what I mean?

Thanks!!
Regards,
Michael

View Replies !    View Related
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?

View Replies !    View Related
Login For A Page - Please Help
I want a page to load only if the correct username is entered (User 1, User2, etc...)

This works: "_root.myText.onChange = function()"

This doesn't: "_root.btn.onPress = function()"

I want it to go to the page when the button is pressed...

Here's the code I'm using


Code:
stop();
_root.createTextField("myText", 1, 0, 0, 105, 30);
_root.myText.border = true;
_root.myText.type = "input";
_root.myText.text = "Enter Password Here";
_root.btn.onPress = function() {
if (this.text == "User1" || this.text == "User2" || this.text == "User3" || this.text == "User4" || this.text == "User5") {
_root.gotoAndPlay(2);
}

};


btn is the instance name of a button I have on the stage...

View Replies !    View Related
Is This Login Page Possible?
Hi all! I've been trying to figure out a login system for a new project for some time now, I was thinking about using .htaccess but I think I have come up with a better idea, so that the user arrives at the login screen straight away, has to put simply their username and password in, and flash will send them to their section.
So basically I would like the user account to be accessable by inputting a single password that is split across two different textfields, so in other words, flash will match up the two fields (i.e username and password) and upon recieving a successful password submission, the movie will redirect to the user's personal page, which will be http://somedomain.com/username.html, so here is my pseudocode as I am still very new to Actionscript..



PRINT.. "please enter username"
PRINT.. "please enter password"
//user submits username and password
store 'username' as $Username
store 'password' as $Password
check list of stored passwords,
if $Username$Password matches a $Username$Password in list of stored passwords then
GetURL - http://www.somedomain.com/$Username.html
Else redirect to http://www.somedomain.com/error.html

.perhaps the password list could be inside the actionscript of that code?
I'd be incredibly grateful for any help you could give me on this one, thanks very much in advance

View Replies !    View Related
Login Page
Can anyone point to a good tutorial to create a login page using Flash MX? I found one "Building a simple login page with Flash MX, ASP and Microsoft Access" from Flashmagazine.com, but the thing didn't work. There was some scripting error in the turorial. Too bad, because it included all the working files.....All you should have had to do was substitute your user names and passwords to the Access page, change the final link address and load it to your server.
Is it not possible to create a login page just using Flash MX?

View Replies !    View Related
Login Page PLZ Help
Hi everyone i am new at flash well mainly action script. I was wondering if someone could plz help me with how to make a simple username and password page. where you have a username and password input area and when the person puts the info in if it is not correct then it says wrong info and if it is right then it takes you to say the next frame. Thanks alot

View Replies !    View Related
Flash Login Page With ASP
Hello,

does anyone knows or have an example of a flash login page which uses asp and an access database to store de usernames and passwords?

Thanks,
Miguel

View Replies !    View Related
Actionscript For Login Page
im trying to create a login page where you type in username and password then when u press enter it take certain members to certain parts of the website so that i can their access to the whole site. im trying to use the "if" and "else" and "if else".
this is what i got.
on (release, keyPress "<Enter>") {
if (user add pass eq "tonycapone" add "anthony00") {
gotoAndStop("Movie", 1);
} if (user add pass eq "toxicparadox" add "clex") {
gotoAndStop("Movie", 1);
} if (user add pass eq "alphaknave" add "djkommander") {
gotoAndStop("site", 1);
} if (user add pass eq "aasmar" add "ahenv") {
gotoAndStop("site", 1);
} else {
gotoAndStop("WrongPass");
}
}
Im still new to actionscript so could someone please help me.

View Replies !    View Related
Asp Login From Flash Page
Hello,
i have a form in my flash website, it sends 2 varibales to an asp page (username, passwd) , then it is supposed to send back a true or false to flash, ..

So it isnt working, this is my flash button code
(email staus is a text field that displays my false results)


Code:
on (release) {
loadVariablesNum("loginClients.asp", "0", "POST");
EmailStatus = "Sending... one Moment ..";
Login2 = Login;
if (Login2 == true) {
getURL("good.asp", "_blank");
} else {
EmailStatus = "Bad username or password";
}
}
this is my ASP code, i should mention that this code works without flash, if i use just asp pages


Code:
validpwd = true

username = Request.Form("username")
passwd = Request.Form("passwd")

Set dbConn = Server.CreateObject("ADODB.Connection")
dbConn.open CS
Set myRS = dbConn.Execute( "Select * from tblUsers where username = '" & UCASE(username) & "'")

If not myRS.EOF then

If ucase(myRS("password")) = ucase(passwd) Then

validpwd = true

Else
validpwd = false
End If

Else
validpwd = false
end if


If validpwd Then

Session("DSMstatus2") = "logged"
'Session("userID") = username
Session("UserID") = myRS.fields("clientID").value

Login = true
response.write Login

End If

View Replies !    View Related
Client Login Page
Anyone know where I can find a good tutorial of a client login in flash?


Thanks!

View Replies !    View Related
Login Page Using Php And Mysql
I want to have a login page in flash,which takes two inputs and passes it to the php. Then php checks the data base to see whether the username or password in valid or not and then replies back to the flash.

Is there any existing code for this
Please help me on this

View Replies !    View Related
Flash 5,login Page
hey,

im in the process of trying to teach myself flash and was reccomend to set myself a problem to complete, i chose to create a multiple choice quiz with certain features. however,im kinda stuck on something.

at the very start of the quiz i want a login page saying please enter your name with an input text box and a submit button, and then the next page that comes up when the submit button has been pressed that says welcome + "the name that was entered on the first page".

i know this is a simple problem but anything i try doesent work! im using flash 5 btw...

help?

View Replies !    View Related
Login From Flash To Php Page
Hi Kirupians!


Thereīs been a long time since i donīt ask questions here... not that i donīt need to, coz i know nothing , is just that iīm not using flash that much lately.


ok then, hereīs the question, I have a simple username/password form in a swf file, and i want to launch, in a new window, a login php page when i hit the submit button, with the variables passing from the swf form to this page. the problem is: i have no idea how the script of the submit button should look like

can anybody help me?



Cheers

View Replies !    View Related
Login Page With Flash-xml
do you guys know how to create a login page using flash?im having problems creating one with the limitations of xml.....plsssss...

View Replies !    View Related
Flash Login Page.
Hello friends,

I have created a movie which have a login page.The problem is ..
when i enter user name and then press 'TAB' the selection is going to another component then after pressing one more 'TAB' focus comes to password field.I want the focus come directly to pass after username field.

also i have a login button when clicked evaluates the usename and pass..
so i want the button to function when i PRESS enter.
plz help...
thnks.

View Replies !    View Related
How To Create Login Page
I NEED HELP... im trying to create an swf that will have a login page where one has to insert username and password... and it will work with multiple users using external txt files or any simplem alternative.

i saw this tutorial on the net but it keeps giving error messages... please do u have ideas how it can work or alternatives?

Dynamic Multiple Login Structure within External Txt File
// Assume AAA is the username and BBB is the password.
// Create AAA.txt in the same directory with the source file.
// Write password="BBB" in AAA.txt and save it.

// Create two textFields and name them as username and pswd.
// Write the following code to the first frame:

username = "";
pswd = "";
stop ();

// Then, write the following to the second frame:

login = username +".txt";
loadVariablesNum (login, 0);

// Create two scenes for the denied and accepted users.
// Let's say scene1 for the denied, scene2 for the accepted users.
// Code for the third frame is:

if (pswd ne password) {
gotoAndPlay ("scene1", 1);
} else if (pswd eq password) {
gotoAndPlay ("scene2", 1);
}
stop ();

// Code for the enter button (with a keyboard event) is:

on (release, keyPress "<Enter>") {
if (username add pswd eq "" add "") {
gotoAndStop ("scene2", 1);
} else {
gotoAndPlay ("scene1", 1);
}
}

// Now, you can test your swf with AAA as a username and BBB as
// a password, since your swf and AAA.txt are in the same directory.
// You can add more than one txt file, which means new usernames
// with new passwords without touching the source file.

View Replies !    View Related
Login From Flash To Php Page
Hi Kirupians!


Thereīs been a long time since i donīt ask questions here... not that i donīt need to, coz i know nothing , is just that iīm not using flash that much lately.


ok then, hereīs the question, I have a simple username/password form in a swf file, and i want to launch, in a new window, a login php page when i hit the submit button, with the variables passing from the swf form to this page. the problem is: i have no idea how the script of the submit button should look like

can anybody help me?



Cheers

View Replies !    View Related
Login Page With Flash-xml
do you guys know how to create a login page using flash?im having problems creating one with the limitations of xml.....plsssss...

View Replies !    View Related
Flash Login Page.
Hello friends,

I have created a movie which have a login page.The problem is ..
when i enter user name and then press 'TAB' the selection is going to another component then after pressing one more 'TAB' focus comes to password field.I want the focus come directly to pass after username field.

also i have a login button when clicked evaluates the usename and pass..
so i want the button to function when i PRESS enter.
plz help...
thnks.

View Replies !    View Related
Flash Login -> Php Page
Here is the situation...

First there is a flash form, one is name, one is password... When a person clicks "Login" instead of using the current window, it opens a new window and sends the POST data to PHP so it can verify, and deal with it (the new window is NOT flash, its strictly php). How would I go about doing this? (no I do not use flash, I am having to program the php to interact with flash in this way.)

Thank you for your help.

View Replies !    View Related
Creating Login Page
I am fairly new to webdesign so please forgive me if i don't state my problem clearly. I've created a site containing my homepage and other pages, that are linked from it. Now i want to create a login page. I am using Dreamweaver MX on my win2000 laptop and uploading my files using ftp to a linux webserver. Here is the problem: I use the standard login page template that comes with Dreamweaver ( yeah, i am lazy) but when i want to change the server behaviour of my page using WINDOW>SERVER BEHAVIOUR>USER AUTHENTICATION i get a window that wants me to fill in the database table and columns that contains the users and passwords. On this window there are also fields that are connected to the form on my loginpage and those fields are ok. So where and how can i put my table of users and make it clear to DREAMWEAVER?

View Replies !    View Related
Do U Know How To Make A Login
i did to make a login in a flash document that gets the username and password from a database. and i wanted the database to be update when someone signs up for my site.

if you know how to do this , have a tutorial or know any programs can you please post it in here.

thanks
matthew

View Replies !    View Related
Do U Know How To Make A Login
i did to make a login in a flash document that gets the username and password from a database. and i wanted the database to be update when someone signs up for my site.

if you know how to do this , have a tutorial or know any programs can you please post it in here.

thanks
matthew

View Replies !    View Related
How To Make A Login?
I want to make a login page for my page, but i don't want a password on it, i just want to check who is going in the site. From my understanding i'd have to use xml or something similar to record the logs?... thanks in advance!

~pako

View Replies !    View Related
Login Page Using FlashMX/Perl
Hi everyone.

So here is the story. Simple login page, 2 frames

First frame

2 input text boxes = username,password
1 button = sends loadvariablenum request to perl script

Second Frame

2 dynamic text boxes = authorized, test
1 button with action script

"authorized" text box recieves a response from scripts and enters either false or true as a response

Up to this point it works great, I get a response and the script verifies everything perfectly.

Now the problem (which is something im using to solve a bigger problem)

the button on the second frame has this in it

on (release) {
if (authorized == "false") {
test = "good";
} else {
test = "bad";
}
}

all this button does is check authorized to see if it is true or false and puts the response into the test text box. But it always responds "bad" no matter what authorized equals.

Any suggestions. (one more thing i've tried "=" "==" and with and without quotations.

Thank you in advance for any help

View Replies !    View Related
How To Set Up A Client Ftp Page? (with Login/pass)
Hi guys, I have no idea where to start with this, but I'd like to set up a page in flash where clients can log in and view work in progress (jpgs, quicktimes etc.) Can this be done in flash? And when it is all set up, is it as easy as uploading a jpg/quicktime and then the client can look at it instantly? Is it just a list of files in a directory of a ftp server displayed in flash?

Thanks alot!

View Replies !    View Related
Login Page With Flash Mx, Asp And Sql Server
i change my code. i found other code which works but still got problem. here's the code which is on the main timeline:

ActionScript Code:
// first we create the object
login_lv = new LoadVars();

//now we create the function that will happen
//when this object recieves data
login_lv.onLoad=function(){

//check to see if the users info is correct
    if(this.userInfo == "true"){
        trace("Welcome");
    }else{
//if the users info was not correct, trace an error, and clean the text fields
        trace("Invalid data");
        userinput.text="";
        passinput.text="";
    }
}

//the function for the login button
submit.onRelease =function(){
//an error will occur if the user didn't enter a login name
    if(userinput.text.length<1){
        trace("please provide a login name");
//an error will occur if the password is not the right length
    }else if(passinput.text.length<5){
        trace("invalid password");
    //and clean out the password
        passinput.text="";
    }else{
    //this is if everything is fine to send
   
    //we will store the user information as properties of the LoadVars object
        login_lv.username=userinput.text;
        login_lv.password=passinput.text;
    //now we send the data, and wait to recieve something back
        login_lv.sendAndLoad("http://localhost/mpob/login.asp", login_lv, "POST");
        trace(login_lv.password+", "+login_lv.username)
    }
}
the problem is, the usrID and pwd that i key-in is correct but it keep poping this message"invalid data".

View Replies !    View Related
[AS3] Making Login Page In Cakeamfphp
Dear users,
I have previously created a login page using AS3 and normal php with username and password.
But now I have to use cakeamfphp as to integrate my page or login form in flash to cakephp framework.
So.far I have installed the cakeamf and cakeamfphp in apps/vendors/ folder of my webroot directory.
Now I don't know how to pass variables to and from this cakeamfphp framework. So,is there any tutorial covering this issue or any of the user can give me certain hint on how to proceed.
Thanks for reading it.

View Replies !    View Related
Creating A Register And Login Page
Hello,
I need to add a 'login' part to my flash page.
It just needs to get the user to give their email address and name to join, then once that is done, that can view the page they want to see.

I have absolutely no clue on any scripting of any kind. Please make it idiot-proof!!

Thanks 4 the help

View Replies !    View Related
How To Set Up A Client Ftp Page? (with Login/pass)
Hi guys, I have no idea where to start with this, but I'd like to set up a page in flash where clients can log in and view work in progress (jpgs, quicktimes etc.) Can this be done in flash? And when it is all set up, is it as easy as uploading a jpg/quicktime and then the client can look at it instantly? Is it just a list of files in a directory of a ftp server displayed in flash?

Thanks alot!

View Replies !    View Related
How To Make A User Login...
Does anyone know how to make a user login screen. I want user to be able to create a username and login just using Flash. Do I have to use PHP or something? If someone knows please let me know. Thanks.

Mike

View Replies !    View Related
How To Make A User Login...
Does anyone know how to make a user login screen. I want user to be able to create a username and login just using Flash. Do I have to use PHP or something? If someone knows please let me know. Thanks.

Mike

View Replies !    View Related
How Do You Create A Login Page, Which Is Connect To Database Via Php Or Asp
how do you create a login page, which is connect to database via php or asp?
thats the questions, any answeres

plz helpp

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
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
Make Multiple Login Accounts
How can we make multiple login accounts on one button? Also, I am only able to accept the password! Can i make it so the password & username work together & how do we make multiple accounts?

View Replies !    View Related
Login Page For PSWD Protected Directory On Server
Hello,

I have a client login page on my Flash website. The login page will take you to a password protected directory on my server that contains info on the clients project ie: contracts, budget proposels, mock-ups.

I was wondering if anyone had any links to a good tutorial on how to make the login page work. So when a client types in their username and Passwd, it sends them to the correct directory.

I've never tried anything like this before, so any help will be greatly appreciated.

Thanks

View Replies !    View Related
FlashVars And Passing Login Information From .NET Sign In Page (StoreFront)
Hello,

I have an application that runs on Flash Communications Server MX. Now, I want to be able to pass the authentications from my signin page, which is the storefront sign in page (ASP.NET), into my flash conferecing application in order to assign unqiue usernames during the session. (use session variables in some crazy way with flash vars?!!?!?)

I am unsure, any pointing to tuts etc. on this issue as well apprcieted, thanks!

View Replies !    View Related
Unable To Set Focus To Login Text Field AUTOMATICALLY On Page Load
Hi,
I'm trying to have my flash (AS 2) login page have the username field start blinking right away after the page is loaded but so far, no success.

I've added the following Javascript to the HTML wrapper:

But it still doesnt work. Can anyone help?

See whats happening by clicking here.







Attach Code

<script language="javascript">
<!--
function flashFocus(){
clientArea.focus();
}
//-->
</script>

<body bgcolor="#ffffff" onLoad="window.document.flashFocus();">

View Replies !    View Related
How To Make Flash Make Html Page Return To Top?
Hey guys,
I created a website which contains a verticaly large flash movie on it which displays information. In order to read the bottom half of info, the user must scroll down the page. I was wondering if anyone knows the code to make a "return to top" button in flash which would send the html page back to the top without reloading the actual page itself of corse. I just cant figure out how to do it. Thans!

View Replies !    View Related
If I Designed A Page By Flash ,how I Make It As Web Page?
hi ..
if i design page by flash how i make it as web site? ...please told me how i be web flash designer ...i need this job quickly ..i knew designed any page by flash but how i make it web page !!!!!!!!

View Replies !    View Related
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
How Can I Make A Login/registration "sistem"?
im argentinian(sory about my english!lol)and i wanna make a web page devided in 2 parts.Part1: 4 registred users. Part2: 4 unregistred users.4 tha registred users,i want that the user can choose hes/her username and passwaord.
Thanx you guys!!
Federico Morandi

View Replies !    View Related
How To Make Page Like...
I saw in one site http://asia.si.edu/exhibitions/onlin...a/default.htm.

If you click "PROCESS" link you will be bring to the process page. That page has several steps. From "Introduction" to "step7". Does someone know how to make page moving like that. I mean if you click step3 the page will sliding to step3. If I not mistaken each step is in different .swf file.

Is anyone know how to do like that?? Thanks

View Replies !    View Related
How To Make An Opinion Page?
how to make an opinion page in flash, where radio buttons are connected to pecentage.

View Replies !    View Related
Make An Intro Page
Hello, I'm wondering how to make an intro page for my website. I have an fla file all ready to go, but what I want it to do is play (with a message "loading..." and a button "skip intro"), then go directly to my index page. I know it's possible, and I've searched the forums here - the question has been asked before, but there isn't a real useful answer.

Thanks very much for any help.
-J

View Replies !    View Related
How To Make A Secret Page?
Hi!!
I need some help on making a secret page in a flash animation.
I want to know :

Make a page in flash and if a make a command with the keybord (or/and mouse) another page opens.

Please help me out with that!!!
Thanx!!!

View Replies !    View Related
How To Make Home Page ?
i want to set the site as home page from within flash...
how do i do this ?

View Replies !    View Related
How To Make A Page Updatable
Hi guys, I was just wondering I would like to put a updatable news section on my site, and I was wondering what the best and most flexible way of doing this. Many thanks

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