Array serialization - does it exist?


I’m a PHP coder, and I’m drunk at the moment to boot, so I’m not having much luck working out if Flash can serialize arrays.

The basic concept is that you take an array or an object and turn it into a string that can be included in an url (or a webpage for using loadVariables() with) and can then de-serialize it back into being an array or an object at the end. PHP takes this one step further by allowing you to keep that object’s methods with it, but I’ve never tried that part.

So my issue is this: I’m going to send information on a variable number of objects from php to flash, and I want flash to reconstruct that array correctly.

Any advice? Peanuts? Another beer?