Re: [Flashcoders] Recursive:Part II

2010-03-23 Thread mark . jonkman
e from one parent to another. Sincerely Mark R. Jonkman - Original Message - From: kennethkawam...@gmail.com To: "Flash Coders List" Sent: Tuesday, March 23, 2010 8:08:14 AM GMT -05:00 US/Canada Eastern Subject: Re: [Flashcoders] Recursive:Part II I won't - the beauty of E4X i

Re: [Flashcoders] Recursive:Part II

2010-03-23 Thread kennethkawam...@gmail.com
I won't - the beauty of E4X is to me is that you no longer need to translate XML into Array or Object like in AS2 days! -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 23 March 2010 11:13, Lehr, Theodore wrote: > So does it make sense to think that it would be easier to create an org > ch

RE: [Flashcoders] Recursive:Part II

2010-03-23 Thread Lehr, Theodore
So does it make sense to think that it would be easier to create an org chart/flow chart like look if I first put the xml into a multi-dimensional array? Or would I be dealing with the same issues? ___ Flashcoders mailing list Flashcoders@chattyfig.figl

Re: [Flashcoders] Recursive:Part II

2010-03-22 Thread mark . jonkman
. Jonkman - Original Message - From: "Theodore Lehr" To: "Flash Coders List" Sent: Monday, March 22, 2010 8:03:02 AM GMT -05:00 US/Canada Eastern Subject: RE: [Flashcoders] Recursive:Part II Works great... I am wondering now How would I track where

RE: [Flashcoders] Recursive:Part II

2010-03-22 Thread Lehr, Theodore
___ From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason [jason.merr...@bankofamerica.com] Sent: Friday, March 19, 2010 4:57 PM To: Flash Coders List Subject: RE: [Flashcoders] Recursive:Part II Actually, I got thinking, and this

RE: [Flashcoders] Recursive:Part II

2010-03-19 Thread Merrill, Jason
ashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, March 19, 2010 4:48 PM To: Flash Coders List Subject: RE: [Flashcoders] Recursive:Part II thanks - I'll chew on this Monday... fyi - I have changed my xml to how Jason

RE: [Flashcoders] Recursive:Part II

2010-03-19 Thread Lehr, Theodore
.jonk...@comcast.net [mark.jonk...@comcast.net] Sent: Friday, March 19, 2010 4:42 PM To: Flash Coders List Subject: Re: [Flashcoders] Recursive:Part II If what you are doing is looking for nodes with firstnames then you can do something like this: Assuming Jason's XML with attributes: var peop

Re: [Flashcoders] Recursive:Part II

2010-03-19 Thread mark . jonkman
dore Lehr" To: "Flash Coders List" Sent: Friday, March 19, 2010 4:15:11 PM GMT -05:00 US/Canada Eastern Subject: RE: [Flashcoders] Recursive:Part II sorry a couple of typos... the function should be: function createPeople (_xml:*):void { var xmlList:XMLList=_xml.children();

Re: [Flashcoders] Recursive:Part II

2010-03-19 Thread Anthony Pace
essage- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, March 19, 2010 3:54 PM To: Flash Coders List Subject: [Flashcoders] Recursive:Part II So I have this xml:

RE: [Flashcoders] Recursive:Part II

2010-03-19 Thread Lehr, Theodore
); } } From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason [jason.merr...@bankofamerica.com] Sent: Friday, March 19, 2010 4:07 PM To: Flash Coders List Subject: RE: [Flashcoders] Recursive:Part II I would write the XML this way

RE: [Flashcoders] Recursive:Part II

2010-03-19 Thread Merrill, Jason
l Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, March 19, 2010 3:54 PM To: Flash Coders List Subject: [Flashcoders] Recursive:Part II So I have this xml:

[Flashcoders] Recursive:Part II

2010-03-19 Thread Lehr, Theodore
So I have this xml: Bob Smith Timmy Smith Jenny Smith Tom Williams Sa Williams