I have build a Flash-Chat working with a Multiuser Server similar to the Flash Communication Server (i used the Oregano Multiuser Server - a well documented Open Source Server). The server and the chat is already working so far.
After Login the user comes into Lobby. From there the user could choose a room. On entering the room the User appears on the roomlist and can input text into a dynamic textfield and submit the text by hit enter.
Things that have to be done now are:
- get some userinformation from the database (like gender & age) into the user object and display them on the room list
- Private Chat 1on1 like telegramm or kind like that
- some small design things
The server already provides this functionality. Please see the documentation on www.oregano-server.org.
The server provides an object for every user and for every room.
In the group object (a group is a room) the room name, the information about the users in the group and the maximum number of users to be in the room is stored.
Futher there is a object for every logged in user. In the object is stored the username, login time and so on. This object could be expanded by more information like gender and age.
I think i don't want someone to finish the thing. I would more likely to have someone advise me in this Actionscript thing for some hours. Maybe this could be done by ICQ or Skype.
In my opinion for someone who knows Actionscript and looks into the 4-5 Actionscript files he should get how the thing works and should be able to explain how it could be done.
The chat based on a fla-File made in Flash MX2004 and some Actionscript .as files.