MSN Messenger lib for adobe air

I took the morning off from work in order to finally finish my actionscript msnlib for adobe air.
It allows you to connect and chat with msn messenger users within adobe air. It uses just ActionScript 3 and the air libs.

Some while ago we were developing a network site where we needed to extract a user’s msn list contacts, so i started reading about the protocol. It’s horrible i may add!

After several hours implementing it in python i stopped and thought that it should be possible to implement with flash/flex and it’s Socket class.

I was no wrong, it was absolutely possible except for one thing. I needed to work with the response headers of a remotely loaded file. Flash neither flex were able to do this so i quickly checked out the air docs and yes! there was it :)

Here is a very short video i prepared demostrating how the login / userlist works. I’ll prepare another one as soon as i can demostrating how the actual “chat” works.

Click to see video

  • Do i plan to release the source code?

Absolutely! I don’t know where to host the subversion repo yet. I haven’t found how google code manages licenses.

  • Are all the msn messenger features implemented?

No. Only text based features are implemented in this version of the lib.

  • Is that my real msn address?

No. It’s a passport account i’m using for testing purposes only.


TrackBacks

air apps and techniques from joshua mostafa >> /dev/blog &

I’ve been trawling the web for cool AIR apps and techniques for AIR development. Here’s what I’ve seen thus far. David Tucker has ten handy AIR dev tips (like this one for serialising objects). There’s a “top 100 music vid...

comments

Tim

very cool. looking forward to the release. Is lib going to work on both air and flex or air only?

Fernando

Tim:

It will work underair only at the moment.

Faisal Abid

You beat us to it , is it possible we can get in touch on how to collabrate this library into our project?

email faisal at g-unix dot com

Tony Fendall

That’s really awesome! Well done.

I can’t wait for the source code to be released

yuzhou

that’s really cool! cannot w8 to see the code. when are you planning to release the code?

David Lee

Wonderful Job, You are running faster than me ;-)

What’s the MSN protocol version of this release?

Fernando

@David

It’s version 8.

Toilet

Just wondering, how did you manage to get past Tweener? Won’t you need to implement SSL Sockets?

Henry

Looking forward to the release because it looks really awesome.

Ou Henry

Oh,Great!
When can we get the source?
Can you do me a favor send the the source to my email?
Thanks very much.
My Email: outrace@gmail.com

Alex

easy, only socket connections CLIENT-SERVER theory, but great work dude. I made my own msn client.

michel melo

hello, could send me the code? thank you.