0 Replies Latest reply on Apr 23, 2007 4:42 PM by sneakyimp

    Is it possible to use Actionscript to create binary data objects?

    sneakyimp Level 2
      I would like to write an Actionscript class which can convert arrays and other data objects to a serialized format for transmission across a socket connection. I realize this is pretty straightforward in XML but I was hoping for something less bloated and faster like AMF.

      Is there any spec out there on how to serialize into AMF format? I've got the AMFPHP source code and have been reading it but that code is in PHP. Also, nearly all open source AMF efforts I have found appear to be reverse-engineering efforts rather than working from any sort of spec.

      The bottom line I guess is how might I convert an array, for instance, into some kind of binary format?