简体   繁体   English

Adobe Flex中的AMF解码

[英]AMF decoding in Adobe Flex

I have a Flex application that receives AMF encoded string from Javascript. 我有一个Flex应用程序,可以从Java脚本接收AMF编码的字符串。 The AMF encoded string contains class instances which need to be mapped to classes which have been registered in Flex using class-alias. AMF编码的字符串包含类实例,这些实例需要映射到使用类别名在Flex中注册的类。 How can I decode the AMF string within Flex so that the output will be mapped to the corresponding AS3 class? 如何在Flex中解码AMF字符串,以便将输出映射到相应的AS3类?

Thanks in advance, 提前致谢,

Check the cortizone-amf library. 检查cortizone-amf库。 It has utilities for decoding AMF data. 它具有用于解码AMF数据的实用程序。 You might especially be interested in the Amf3Input class. 您可能对Amf3Input类特别感兴趣。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM