This content has been marked as final. Show 6 replies
A better view of the hierarchy is,
findMeetingList mx.rpc.soap.mxml.Operation (@224b3e51)
[tab]arguments Object (@1cb50801)
[tab][tab]filter Object (@1cb507e1)
[tab][tab][tab]endTime Date (@1cab4e71)
[tab][tab][tab]startTime Date (@1cab4e49)
[tab][tab][tab]subjectSearchMatchType "CONTAINS" [tab][tab][tab]userId ""
- pass the arguments into an array and sort them.
Assume I don't know what the variables are. They change from webservice operation to webservice operation. All I know is that the top level is called "arguments." The hierarchy below that must be discovered.
you will need to write a php server-side script that collects the webservice arguments and then passes them into flash on the client-side. once the arg's are passed into flash, flash must collect them and push them into an array. once stored in an array, the arg's can be manipulated to display in what ever arrangement you desire.
Its best not to put them into an array if you want to display in a tree.
You want an xml dataprovider - at least that's what you need in flash, I'm assuming its the same in flex - it would be easy enough I'd imagine to translate what you have to an xml format. Once that's done, I don't know about the flex tree component but for the v2 flash one its relatively easy to represent hierarchical data and change the icons etc. I wish I could say the same for the as3 flash tree component. But it doesn't exist yet.
i apologize. although i noticed your post stated that you wanted a tree view, when i saw the data that you had i thought that you wanted it to be displayed in a simple vertical fashion within your swf. it didn't dawn on me that you were actually wanting the web-service arg's to be placed into a node tree. thanks gwd for scoping that out.