www.pudn.com > chat_fla.rar > main.asc
load("components.asc")
application.onAppStart = function(){
//Array of connected users
this.userList = new Array();
//Object to hold a direct reference to connected clients
this.userHandler = new Object();
//Shared Object to store connected users
this.users_so = SharedObject.get("users", false);
this.users_so.setProperty("userList", this.userList);
}
application.onConnect = function(client, name) {
//Check if the user exists
for(i=0; i