I want to get a PHP Array through HTTPService and access it in Flex. How can I do this.
I am trying to get an Array which is in the form of a tree from PHP. I want to receive this Array and convert it into a Flex Arraycollection, so that I can diaply it in an Advanced Datagrid.
Json encode in php to string and json decode in flex to array
See this web site:
You'll need this ActionScript library:
Put as3corelib.swc somewhere and then go to Flex Builder menubar Project - Properties, then to Flex Build Path - Library Path tab, Add SWC, and provide the path to your as3corelib.swc.
If this post answers your question or helps, please mark it as such.