Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 06:51
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  Flash Remoting with AMF (Moderators: Flash-db, Musicman, Jorge Solis, papachan, nothingGrinder)
| | |-+  Login with Flash AS3
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Login with Flash AS3  (Read 5312 times)
neas
Guest
« on: 05/01/09, 18:57 »

Does anybody have an example of a login using AS3? I want to be able to have a flash movie with just one field the user can enter, once they enter the password it logs them into the application

The passwords are all stored on a mysql database right now and Id like to php/amfphp to access the passwords.

Thanks,
neas
Logged
Benji1298
Server what's that
*
Posts: 14


View Profile Email
« Reply #1 on: 05/01/09, 22:12 »

you'd want to do something like receive the password from flash... then have all of your passwords have an index (they could all be one or more)... have your php file get the index where the password is the password that was passed from flash... then check to see if the password is greater than or equal to one... if it is, return "Validated" or something to flash... then play your movie...
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #2 on: 05/02/09, 00:49 »

Just do the loading and saving tutorials.
There are examples for all of the possible variations.
You allready mentioned AMFPHP.
If the application becomes more data driven, I would recomend using AMFPHP.

For your demand, the "Hello World" example tells you all you need.

In your case, just send the password to a service, which in return only gives true or false.
Logged

happy flashing
Cool
Ronald
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!