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 example of the first nav item and the sub nav ) What would be the best way to get the arrays inside my flash menu when looking at his Array? Andy On 2/13/07 11:51 AM, "Merrill, Jason" <[EMAIL PROTECTED]> wrote: > 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 the webservice however they want, so you need to know what > the object model is. > > Jason Merrill > Bank of America > Learning & Organizational Effectiveness > > > > > > > >>> -----Original Message----- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf >>> Of Andy Andersson >>> Sent: Tuesday, February 13, 2007 2:45 PM >>> To: Flashcoders mailing list >>> Subject: [Flashcoders] How to get Arrays from a web service >>> call into a menu nav? >>> >>> Hi everybody! >>> I have a problem that I don't know if it's even possible to solve! >>> >>> 1. I want to create a menu that holds a main Nav and Sub Nav >>> (Horizontal), no problem with that, but upon my clients >>> request they want to use a web service call to get the data >>> from the server (works fine, triggering etc..) but the >>> problem is that the web service returns a long list of >>> arrays, containing the NAV NAMES etc.. >>> >>> So my problem is to get the arrays into the menu, works fine >>> if using TextArea comp, but it won't help me, cause I need >>> the arrays to show up inside the (buttons) in the menu. >>> >>> Anyone knows what I'm trying to say here? >>> >>> >>> Thanks >>> Andy >>> >>> >>> _______________________________________________ >>> [email protected] >>> To change your subscription options or search the archive: >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> Brought to you by Fig Leaf Software >>> Premier Authorized Adobe Consulting and Training >>> http://www.figleaf.com http://training.figleaf.com >>> > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

