Does not work with CS3, you need CS4.Quote:
Originally Posted by Geneve
Printable View
As I said, the reacter.swc is for Actionscript 3.0 ONLY. And you have document classes in as3.0, basically Main.as, which controls most of the actions.
P.
So, uhm, you guys who are active with these things :), what is there out there that I can use with my Flash MX Professional 2004, that gives me multiplayer capabilities?
I understand there are several multiplayer things people can use, but which ones of them could work for me?
So, this union server is a socket server then I assume? Like smartfox, and that other one I forget the name of? This one looks free which is nice, smartfox has user limitations with the free version last I checked.
I know nothing about setting up a socket server though, so I will probably just stick with turn based and polling. The chat is the fastest updating entity in this type of game, and even that only needs an update every 2-3 seconds or so.
Geneve, as I mention above, smartfox is another alternative that will work with AS2, but it is not free to my knowledge, and then you need to setup a server as well. Union provides a free server to beta test on it looks like (nice idea).
If you are doing turn based you can use php or asp to talk to server side files or a database and make a polling engine. This is done entirely through URLLoaders in as3 and I think it was called loadURL in as2. Basically every client has to send it's data to the server every X seconds, and then in return the server sends the client that asked any new information. A shortcoming of a polling engine is 1) they are too slow for realtime, and 2) the server cannot initiate communication with the client. The server only responds to requests.
So in laymans terms, you have each client constantly asking "Hey Server! What's changed?" and getting data in return.
I don't know of any premade polling libraries, unfortunately. Most people just make their own.