that’s right i said it. i’m posting this here because i’m not sure where to look. i’m looking for a good resource for flash comm stuff, somewhere inbetween beginer and advanced. i understand most of the basic stuff but most the forums i find are two steps up. does anyone know a good resource, i’m looking for tutorials and explanations not components.
what i;m trying to figure out is how clients are organized. is there an array some where. what i’m trying to do is link two computers together and i’m just not to sure what type of object i’m supposed to use. i want a character to walk of the screen on one computer and walk onto the screen on another. so i;m thinking i can just use the call functions, but how do i send an object from a client to a server and then have the server send the message to a different client of my choosing. can i just make prototypes for the client in my asc file and then call them from flash?
Well the question you’re asking is a little too general, but what i would do is look at the tutes that come with the FlashComm installation, they explain quite a lot on it (duh!), and do expose you to the sending objects across a network and the Application.clients array as well …
yeah i went through the tutorials and i couldn’t find the way to access the client list and send messages to specific clients, i understand how to send a message to the server and then have it send a message back to the same client, but i’m not sure how to switch the clients. how are they arranged on the server client.client1 or client* or what? i’m not looking for anything specific, i’m looking for a general answer.
so never mind about that silly client crap. the real problem i’m having is creating methods in the asc file. do i need to create a new class?
here’s an explanation of what i want to do. i want to send an object from 1 client to another through the server, easy enough i can use the netconnection.call to the server, but how do i create the method in the asc file.
prototype?
create a class?
i think it’s a simple answer but i can find no examples.
the flash comm reference isn’t very helpful
function mySend()
{
if (length(msg) > 0) {
connection.call(“message”, null, msg);
}
msg = “”;
}
how do you create the “message” remote Object?
thanks