AMF decoding in Adobe Flex

813 Views Asked by At

I have a Flex application that receives AMF encoded string from Javascript. The AMF encoded string contains class instances which need to be mapped to classes which have been registered in Flex using class-alias. How can I decode the AMF string within Flex so that the output will be mapped to the corresponding AS3 class?

Thanks in advance,

1

There are 1 best solutions below

2
On BEST ANSWER

Check the cortizone-amf library. It has utilities for decoding AMF data. You might especially be interested in the Amf3Input class.