This example is based on corlan’s post. I simplified it and added connection to MySQL and password encryption in MD5.
Basically this examples shows how easily we can implement logging in Flash Builder / flex. GUI is displayed in flash and it connects to PHP server that stores passwords in MySQL database. Passwords are encrypted using MD5.
Below you can find Flash Builder project, scripts in PHP to put in your Apache WWW directory in location: localhost/user_auth. The third file is MySQL database export.
You can easily encrypt your passwords in MD5 thanks to this site:
More info on Flex HttpService can be found here: