ActionScript 2.0 :: Using GetURL To Login Using Php

Apr 19, 2010

I've created a login form in Flash that should post to a php login script on a different server.

I've given one input text field a variable name of user (for the username)

I've given the other input text field a variable name of pass (for the password)

I'm using the following AS applied to a button:

Code:
on (release) {
getURL("http://www.website.com/login.php?username="+ user +"&password="+ pass);
}

[Code].....

I log in just fine to the site... If I attach the full code to the script I log in just fine... why is it that passing the variables is not working with getURL action script?

I've tried to accomplish this using several different scripts but I get the same result with everything I do.

View 8 Replies


Similar Posts:


Flash Login Page For Multiple Separate Login Accounts

Aug 17, 2009

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);
}}

View 7 Replies

ActionScript 2.0 :: Make A Login Form For People To Use To Login To A Certain Area?

Nov 10, 2004

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?

View 4 Replies

Flash :: IDE - Login Using Php And Sql

Jan 19, 2009

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

[Code]...

View 1 Replies

ActionScript 3.0 :: Why Login Swf Cannot Be Run On Html

Jul 2, 2009

I built a swf which can let user login with username and password.

When user click on the login button on swf, it calls a web service to do authentication.

It works on Ctrl+Enter in Flash CS3.

Then, I publish it with html and run on IIS.

There is no response when I click the login button on the html which embedded with the swf.

View 3 Replies

ActionScript 3.0 :: Login Through Flash?

Oct 7, 2009

flash web base application. Which has login page in flash when the user enters username and password this is sends to server in binary format through binary socket. Server sends the responce in same format I am stuck here how could I proceed to for this.

View 10 Replies

Login Fails After Update

Oct 1, 2010

Just updated from FMS 3.5.2 to 3.5.4. After this I'm not able to login onto the server.I've tired to check the fms.ini file without any luck. I've tried to login using both localhost and domain/url. I've tried to use a backup of the conf-folder but all responses from the installation is: "login attemt to the server below failed".It worked PERFECT before the update. There has been no changes in firewall etc. during updateinstallation.

View 7 Replies

Flex :: Facebook Login Using 4?

Jul 7, 2011

I am trying to integrate my application with facebook.[URL]I get no errors or warnings. But when I run my app,on click upon login the login window does not pop up at all..as in nothing happens...No errors of any sort..

View 1 Replies

Flex :: Login From Php To Project?

Nov 30, 2011

I am trying create system in which I can login from php and then go directly to the flex project. The flex project already has login system but I want to bypass that and use the login system created in php. For testing I created a simple mxml file and one html page. Using the object tag and flashvars I passed the username and password into the swf and displayed using label. But my project is very big and want to pass username and password without using the swf of the project.

View 1 Replies

ActionScript 2.0 :: Login Through Php / MySQL

Sep 9, 2008

I'm running into a problem with a login and password screen through Flash. It connects to MySQL database to check if the username and pass are correct. Well, when I test it and click submit it just sits there and says in the status bar of the browser, URL...I believe that the PHP and MySQL part of this project are working correctly and just want to see if anybody notices anything wrong with the AS code calling for the PHP that's in the swf:[code]

View 2 Replies

ActionScript 3.0 :: Login Into New Frame?

Apr 3, 2009

i have this code but my problem is that i want it to go to a new frame when i type in the correct username and password.

View 6 Replies

ActionScript 3.0 :: Getting The User's Login Name?

Apr 17, 2009

Question - I can't seem to find this anywhere... is it possible to get the user's login name with as3? I'm referring to the name they log into the OS with... this is possible in just about every other language.

View 4 Replies

ActionScript 3.0 :: Flash Login With Php?

Mar 23, 2011

Everything I've tried with this script has ended with no positive result, this was developed in flash 9, but attempting to publish in flash 10 since its no longer working after updating flash. I have also upgraded from CS3 to CS5 recently also if that makes any difference. Well, here's the code:

[URL]

AS3 code:

Code:
stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; stage.showDefaultContextMenu = false; //path to the php file on your server var phpPath:String = "login.php"; //make password text field (when you type the characters will be like "******") pass.displayAsPassword = true; login.addEventListener(MouseEvent.MOUSE_DOWN, loginDown); function loginDown(e:MouseEvent):void{

[code]....

View 4 Replies

ActionScript 3.0 :: Creating A XML Login?

May 31, 2011

how I could create a login script that would save all users, passwords, and theyre data(scores, play time, etc) to an XML file. I am very new to XML and cant seem to find anything about this on the internet. I plan on saving this XML file on my website and having the swf load it from the website.

View 2 Replies

Client Login And Image Download?

Oct 9, 2009

I have a client (a photographer) that wants to include a login button for clients. This will take the client to the server where that pars all of this possible in Flash? I have used it for quite some time, but mainly for animation and basic intros, etc. I have been searching for components that handle what I need, but coming up short

View 2 Replies

ActionScript 3.0 :: MySQL, PHP Login For Website?

Dec 20, 2009

I've been working on a login for my AS3 website and I keep running into this issue where my novie gets stuck at "loading..." as you can see if you go to this websiteand try to create an account. I have a login.swf, a login.as, login.php, and newAccount.php all in the same directory folder. I've cleaned up some of the more obvious coding errors, but I'm a design guy thrown into a coding job... Errrr, not so fun. I'll post the contents of the files below , even though I'm pretty sure that's a no no...ogin.as

PHP Code:
package {
import fl.controls.Button;

[code]....

View 8 Replies

Professional :: Load A Login.swf From Localhost?

Mar 1, 2010

i have realy pain start with af3 when i was fine with as2.one of my probleme is i load a login.swf from localhost .
 
Probleme1. i test on my pc "wamp" then i test on a remote server let call it  "Lamp". my code in main swf (As3.swf)  look a something like this.

var chemin = new URLRequest( "http://localhost/As3_login.swf" ) ;cadre.load ( chemin );cadre.x = 40;cadre.y = 100;addChild(cadre);

what happen is in localhost test everithing does the job but when i upload on my distant server "Lamp"  as3.swf and As3_login.swf,the main swf (As3.swf) don't load the As3_login .swf that is on my distant server "Lamp" .in fact it try load the swf that is on my local "wamp" server (my own hard disk).so if i close my "wamp" what happen is As3.swf from "Lamp" load then it can't load As3_login.swf.seem totaly ilogique to me since when localhost isn't local?

Probleme 2. the code above addChild(cadre) add the As3_login.swf from here all is finel) .now the probleme is i have a button cancel on the As3_login.swf and i want this button remove what we loaded previously(itself then).i tryed a lot of thing like.how to remove a loaded child from the child itself???

View 2 Replies

ActionScript 3.0 :: Use Facebook To Login To An Air-application?

Feb 21, 2011

I'm making an air-application in flash professional using actionscript. I was wondering if any of you know how (or if it's even possible) to use facebook to log in to my application. I found some stuff on the web, but I only found stuff to HTML, not actionscript.

View 1 Replies

ActionScript 3.0 :: Secure Sending Of Login Using AIR And Php?

Dec 3, 2011

I have an AIR app in AS3 that connects to an online database, checks the login details for the user account, and logs in if all is good.  Once logged in, the user can update database info, plus overwrite files in their user directory. So far it's working fine.

Problem is, I've only got it set up to send the raw login data.  Once the php receieves it, it's hashed to check the hashed version in the database, but is there a way to hash and then unhash a password sent from an AIR app?  Or a way to use https?
 
Also, regarding sessions, if you have a seesion in a browser, the session closes automatically when the browser closes, right?  So how do you make a session close that you've opened via an Air app?  I guess you could trigger a close from certain actions within the app, + when the app closes, but say the app crashes, or the computer crashes - will your session still be floating around out there open?

View 3 Replies

ActionScript 3.0 :: Encrypt Password For Login?

Dec 11, 2011

How do you encrypt the password and username for a login form in as3?

View 5 Replies

PHP :: Mapping Login Sessions To Users

Jun 26, 2009

When I login a new session is generated. How can I later know for which login the session was generated? I am getting the session value, but how do I know which user the session is for and redirect him to that page?

View 1 Replies

Php :: Login Using Flex And PHP But How To Handle Session

Jan 7, 2010

I have a Flex login page that uses HTTPService to communicate with server side php script. Once user's credential is verified, a session will be created and the login page will redirect to the main Flex page with that session info. I'm not sure how to implement the session logic.

View 2 Replies

Actionscript :: Flex4 And Facebook-api : Cannot Login

Jan 25, 2010

I wrote a simple application for facebook and it seems that i fail to login. I created a test application on facebook and i test my application by going to [URL] i have the following function that is being executed after ApplicationComplete event of my main application.

[Code]...

View 1 Replies

Flex :: Login To A Facebook Account From A App?

Sep 7, 2010

I would like to supply an username(mail address) and password to an API method and login to Facebook. Is it possible with the special swc library to access the API in this manner? If not, can you give me some hints on how to do it using ExternalInterface and JS?

View 2 Replies

Flex :: Using The Facebook API After Javescript Login

Sep 9, 2011

This is something I have been trying to figure out, but I am not sure exactly how to do it. I have a flex application that logs into facebook, but after that I can't access any of the facebook api. Right now I am using this HTML to log in:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>

[Code]....

View 1 Replies

Php :: Login System With Flex Mobile?

Jan 30, 2012

I followed an example on how to make a login system in flex. This example was not made for flex mobile projects, but desktops running in a browser. As I understand I can use the same code but with different components. I keep getting errors. My code is beneath. PHP code for connecting and quering the database, and send result back with xml

<?php
echo "<?xml version=""1.0" ?>
";
$con = mysql_connect("HOST","USER","PASS");

[code]...

My First thought was that I can't use <mx:HTTPService> and other mx based services in my mobile flex application.

View 1 Replies

ActionScript 3.0 :: Login Page Using Php And Mysql?

Jan 25, 2009

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

View 1 Replies

ActionScript 3.0 :: Store Login Data In XML?

Aug 15, 2009

i have a site and i want to put a login and registration page. I downloaded a template, but i dont want to mess with php for the moment. I wonder, if theres a way to make the login/registration with actionscript to store the data in a xml file when the user registers, and then call it back from the xml to login and then send him to the main site if the data is correct.

View 2 Replies

ActionScript 2.0 :: Make Login And Register?

Apr 25, 2011

Does anyone know how to make a login and register in flash using actionscript 2.0 and or 1.0?

View 1 Replies

ActionScript 3.0 :: Secure Login With MySQL And PHP

Dec 13, 2011

I was wondering what the best route to take for making a login. The idea is to have the user login with their username and pass on frame 1. If the username and pass exist in the MySQL database then the user will be moved to frame 2. What would be the best way of achieving this? I know AMFPHP is old and I have heard to use ZENDAMF instead, but it seems that any recommendations are 2+ years old when I searched Google.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved