How can i decode AMF3 Object in Flex. We have a python Socket server which encodes data as AMF3.
We already deserialize data in Android Client but cant find a good way to do that in Flex.
Edit.
Take a look how we are doing Java for Android client.
String res = res.substring(1);
InputStream in = new ByteArrayInputStream(res.getBytes());
DataInputStream dis = new DataInputStream(in);
AMF3Deserializer amf = new AMF3Deserializer(dis);
Object o = null;
try {
o = amf.readObject();
} catch (IOException e) {
e.printStackTrace();
}
Map map = (HashMap)o;
Object[] ob = (Object[]) map.get("result_set");
Object[] obn = (Object[]) ob[0];
ByteArray.readObject() will decode AMF.