Fun Flow Studios

A blog about flash games
December 7, 2008

Flash login screen with PHP and mySQL - In AS3

Author: admin - Categories: Flash, PHP, Tutorials, actionscript - Tags: , , , , , , , , , ,

In my previous post I created a login screen in AS2 however in this version we’ll be creating one in AS3, which seems slightly faster, however a bit more complicated. I’ve also changed the create account script to add the ip address of the user.
Having the ip of users is useful to track down cheaters of your game. You can use an ip ban to stop the cheater playing your game, I’ll cover this in a later tutorial…

This tutorial is pretty much exactly the same as the last one(except for the script changes), So this tutorial assumes you have a way of testing out PHP and mySQL scipts, however if you need to know how to setup PHP refer back to the last login tutorial.

This is what we’ll be making…

It basically the exact same thing as the last one.

Getting started:

Step 1: Creating the flash document

Create a new flash file, select a new flash document AS 3.0.
Save this

October 25, 2008

Creating a flash login screen

Author: admin - Categories: PHP, Tutorials, actionscript - Tags: , , , , , , ,

This series will cover some of the great things with flash, php and mySQL

In this tutorial we will create a user account login screen, and also a user creation screen. Using a mixture of PHP and mySQl.

preview:

this is what we’ll be making (sorry for the terrible graphics lol)

you can create an account, then you can log in with it


Step 1: Setting up PHP

Before you start creating the login screen you have to be able to run PHP, skip to step 2, if you already have a way of running a PHP file

PHP is a server side language that can’t just be run on its own like HTML, however you can install a set of tools that let you run it from your own computer (