All About AIR, Flex, and Flash

Archive for November, 2006

New AS3 XMPP Library on Adobe Labs

Almost a year ago I began working on an XMPP library using ActionScript 3. XMPP is a protocol which enables real-time collaboration and presence information to be communicated between clients. (For more information about XMPP see http://www.xmpp.org.) With the new Socket API in Flash Player 9, writing a formal XMPP protocol library in ActionScript was much easier than it was in previous versions of the player and showcased some of the new features of the ActionScript 3 language. I decided to start to write one from scratch.

I have submitted this library to the Adobe Labs repository. You can browse the repository using the link below. The path to the source is ‘projects/xmpp’ in the ‘flashplatform’ repository. Christian Cantrell has also made a great post on his blog that describes how to checkout the latest code here.

Over the past year I have made many optimizations and feature additions to the code base and I am still actively developing the library. If you have any suggestions, questions, or patches related to this library, please feel free to email me directly (ddura@adobe.com).

  • Browse the source here.
  • Download the latest nightly drop of source from the Adobe Labs repository here. (This contains the entire labs source tree.)

Update: The code for this library has been moved to Google Code, where some bug fixes and changes have occured. Be sure to update to that version. Link

6 comments