Hello Everyone,

**How to use tutorial with my v2.0 its a bit more complex than v1.0 :)**

Well finally I released V2.0 and I was glad I had alot of people asking me when its release was so I took the time and finished most of it and released a beta :)

Alright enough talk lets get to the actionscripting :)

First of all the client from v1.0 hassent changed much it has more functionality thats about it for it.

My v1.0 tutorial explained most of it but now it has login capabilities which has to have a little bit more explanation :)

Alright here is how login system works : ( PROCESS):

--Connect to Server--
--When Connected--
--Send Login--
--Await Login Results--
--On Result if 1 then your logged in if not your login information is incorrect--
--If everything is good then it sends information from the server that is in the users information database like sex.--
--Then allows you to send messages to everyone :)

Now that we know the process lets talk about the code :)
First Connect to Server-
_root.myXML.connect(_root.ip, _root.port);
Then Login- :)
<img alt="" src="file:///C:/DOCUME%7E1/COMPAQ%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg"/><img alt="" src="file:///C:/DOCUME%7E1/COMPAQ%7E1/LOCALS%7E1/Temp/moz-screenshot-1.jpg"/>--Heres the await login results--(This is a cut up from the actual script)
loginres = src.indexOf("1002");
            if(splits[1]==1 && splits[11]==_root.user.text){
            chatbox.text+="Connected Successfully!"+"\n";
            //Set up register process//
            duplicateMovieClip (_root._mc_clip_p,_root.user.text,_root.accounted++);
            duplicateMovieClip (_root._mc_clip_f,_root.user.text,_root.accounted++);
            //Didnt work//
            chatbox.text="Invalid Login!"+"\n";

Its pretty simple :)
Then like my first version you send messages like you would and parse them yourself  :

Thats simple eh? Alright now for c++

For Sending lets say message to the person sending a certain message like login you find the id first.
After ward you if then state it

//do what you want to do here now to send a message back//
send(s,"MESSAGE HERE",strlen("MESSAGE HERE AGAIN"),0);

s = Socket which is sending data :)

I will soon implement a dll system were you can add your own script to parse login and such which makes it that much more fun :)
Of course its c++ but that way you still have access :)

I offer support in Flash and C++ and you can read my v1.0 tutorial which is on the same site and still available but not the download :(

Here is the link to download it :)


Alright thats it for me thanks for reading :)