RE: [Flashcoders] How to get Arrays from a web service call into a menu nav?

2007-02-13 Thread Merrill, Jason
You need to know the structure of the array and objects they are returning. Likely, they are handing you an array of objects with properties - and you can grab the data by navigatinging the array object like, myData[3].nav[2].name or something. But they can structure that object you get from

Re: [Flashcoders] How to get Arrays from a web service call into a menu nav?

2007-02-13 Thread Andy Andersson
Hi Jason, Thanks for your quick reply, Example would be like: from their side, [navigation] = Array ( [Identities] = Array ( [Name] = IDENTITIES [SubNav] = Array ( [0] = Array ( [Name] = ME [SubNav] = Array ( ) ) [1] = Array ( [Name] = PUBLIC MESSAGES [SubNav] = Array ( ) ) ) ), (This is an

RE: [Flashcoders] How to get Arrays from a web service call into a menu nav?

2007-02-13 Thread Merrill, Jason
[Identities:( [Name] = IDENTITIES [SubNav] = Array ( [0] = Array ( [Name] = ME [SubNav] = Array ( ) ) [1] = Array ( [Name] = PUBLIC MESSAGES [SubNav] = Array ( ) ) ) ), I'm lost translating that to an Actionscript object based on that description, sorry. Perhaps you can do a loop through the

Re: [Flashcoders] How to get Arrays from a web service call into a menu nav?

2007-02-13 Thread Andy Andersson
Hi Jason, Thanks again, One last try, The snippet of code I gave you were the raw WSDL, when looking at it through the web browser, but I'll give you the structure of it how it looks returning into flash using the wsconn instead of writing the complete as code it for now. This is the first nav

RE: [Flashcoders] How to get Arrays from a web service call into a menu nav?

2007-02-13 Thread Merrill, Jason
I'll try and shoot real straight with you here. I don't know what the data is on your other end. I don't know WDSL or SOAP packets that well. In my world, we develop in C# .NET and formulate objects and arrays. The c# developer sends me an object, which has arrays, strings, numbers, etc. Since