Log in form in flash

hello kirupa forum world.

I’ve been trying to figure out how to have a log in form in flash-- All I really need is to have a username and pass, I need to pass the varibles to a php page(info.php) and this php page then does all the work, checks the database all that fun stuff and sends the site to another page(lets say index2). Now I’m not really sure what I’m doing on this.

any suggestions?