Hi,

This is an excellent question. AMF has lots of potential as a data format.

Peter is right. You can leverage ByteArray. I have a Flex component
that internally does this (but it only expects the result from the
HTTP call to be in AMF, you'd need to manually use
ByteArray.writeObject() to encode):

HTTPAMFService - http://code.google.com/p/fxstruts/downloads/list

(its part of fxstruts where I am treating AMF only as a data format)

Cheers,
----
Anirudh Sasikumar
http://anirudhs.chaosnet.org/
Q & A saved to http://sandboxviolation.appspot.com/questions/9439

On Tue, Feb 17, 2009 at 5:08 PM, Peter Hall <[email protected]> wrote:
> ByteArray supports readObject() and writeObject() which read and write
> objects using AMF. The ByteArray can be written to disc as a file, or
> sent to a server as a variable (you may have to 7bit- or base64-encode
> it). Once you have this file, you can load it into your application
> using any means you like (HTTP/GET, Socket, FileReference,...).
>
> Peter

Reply via email to