A bit of a stupid question maybe, but i'm trying to work on a saving file system (a basic one) using fileReference cause I wasn't happy with just using Sharedobjects (they are tempory files after all).. anyway,

I have a an associated array (one which uses strings for keys) and I need to convert it into a string which has the key then the value.. well, when dealing with this kind of array, you can't just cycle it like a normal number based one, nor use things like Array Length.. and since values and even keys can be added at run time, it's a bit tricky to figure this out..

The best option I can think is to store all the keys in another array and use that.. but i'm not sure if there is another way. I like to keep my options open when I can ^_^

any ideas would be helpful.

Thanks