[Flashcoders] E4X XML manipulation

2011-10-11 Thread Paul Andrews
What's the best way to turn this: myXMLNode = my_xml row id=a / row id=b / row id=c / /my_xml; into: my_xml row id=a row id=b / row id=c / /row /my_xml Using some E4X? It's not so much a case of adding b and c as children of a, but of removing them so I don't end up with: my_xml

[Flashcoders] Best AS3 face detection (recognition a plus)

2011-10-11 Thread Eric E. Dolecki
I am looking for the best AS3 face detection/recognition available source currently around. Anyone have pointers? Googling shows a lot of older stuff. Thanks! Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] E4X XML manipulation

2011-10-11 Thread Merrill, Jason
row id=c / /row And row id=c / /row Are not valid XML. Therefore, I'm not clear on what you want to do. :) Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ -Original Message- From:

Re: [Flashcoders] E4X XML manipulation

2011-10-11 Thread Paul Andrews
On 11/10/2011 16:33, Merrill, Jason wrote: row id=c / /row And row id=c / /row Are not valid XML. Therefore, I'm not clear on what you want to do. :) Hmm.. myXMLNode = my_xml row id=a / row id=b / row id=c / /my_xml; into: my_xml row id=a row id=b / row id=c / /row /my_xml I didn't

Re: [Flashcoders] E4X XML manipulation

2011-10-11 Thread Glen Pike
Hi, You would have to: 1 Create a new XML node, myNewNode = my_xml/ 2. Select nodes from the existing XML where id != a var nodes:XMLList = my_xml.child(row).attribute(id != a); 3. Select nodes from existing XML where id = a var parentNodes:XMLList =

RE: [Flashcoders] E4X XML manipulation

2011-10-11 Thread Merrill, Jason
This, what you are saying you want to turn it into: row id=c / /row That actually is valid, sorry, but you just want to have any empty node in there? Check out this thread: http://www.kirupa.com/forum/showthread.php?318159-AS3-XML-How-to-add-element-nodes Jason Merrill Instructional

Re: [Flashcoders] E4X XML manipulation

2011-10-11 Thread Paul Andrews
On 11/10/2011 17:21, Merrill, Jason wrote: This, what you are saying you want to turn it into: row id=c / /row That actually is valid, sorry, but you just want to have any empty node in there? Check out this thread:

RE: [Flashcoders] E4X XML manipulation

2011-10-11 Thread Merrill, Jason
Just trying to help. :) I don't know if this helps what you're trying to do, but I have found it much easier to parse XML data into value objects and vectors, then doing the data manipulations from there, rather than trying to do all the manipulations with E4X. But if that isn't an option for

Re: [Flashcoders] E4X XML manipulation

2011-10-11 Thread Paul Andrews
On 11/10/2011 17:38, Merrill, Jason wrote: Just trying to help. :) Yes, I appreciate it. Thank you. I don't know if this helps what you're trying to do, but I have found it much easier to parse XML data into value objects and vectors, then doing the data manipulations from there, rather

[Flashcoders] MovieClipLoader Oddness

2011-10-11 Thread [p e r c e p t i c o n]
Hi All, I'm working on a project in which I continuously grab images from a server (don't ask..) using MovieClipLoader. everything works fine for a period of days then suddenly the player crashes with the dreadful ..script to run slowly... dialog. when I check my servers logs, i notice that the