1

I have an array that I am constructing in PHP which I am serializing then returning to Flex through AMFPHP. Can someone point me towards a solution for unserilizing said data once it gets into Flex via ActionScript 3?

Peter Hanneman
  • 523
  • 1
  • 5
  • 18

1 Answers1

2

There are basically two ways. If you use something like the RemoteObject class, they will be automatically deserialized. This is how I prefer to do things. However, if all you've got is a ByteArray if serialized objects, you can use the read{Object,Int,...} methods to read the data it contains.

David Wolever
  • 148,955
  • 89
  • 346
  • 502