[osflash] AMF, how does it work?

Martin Schnabel mb0 at mb0.org
Fri May 4 09:44:40 EDT 2007


Weyert de Boer schrieb:
> Could someone tell me how AMF is supposed to work? I imagining that it 
> the server side (i.e. Java or .NET) is marshalling his objects into AMF 
> which then get unmarshalled by Flash. This means you are getting a copy 
> of the object in Flash. It's not like you can share instances with the 
> server side? And when you do something like amfobject.trigger() it will 
> actually trigger the method of the instance of the server side?
>   
think of AMF basically as serialization format so it a copy not a 
reference. i wrote myself some java - flash pojo serializer, i think amf 
its straight forward the encoding nothing with networking.
but you can write yourself a simple rpc kind of framework to trigger stuff.

best regards
    martin schnabel



More information about the osflash mailing list