RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2009-01-03 Thread Tracy Spratt
coders@yahoogroups.com Subject: RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection I think the OP was attempting to delete all of the childern of a node by assigning an empty XMLList. While this seems reasonable, I do not believe it will work, at least, I was una

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-12-01 Thread Tracy Spratt
I think the OP was attempting to delete all of the childern of a node by assigning an empty XMLList. While this seems reasonable, I do not believe it will work, at least, I was unable to do it this way. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-12-01 Thread Tracy Spratt
The docs are a bit misleading when it comes to XML. Try using XML with the tree, it works great. The warnings occur because most of the properties you deal with are dynamic objects, which are not bindable. Solve that by casting(object as XML) or converting(XML(object)) the object to the und

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-11-27 Thread Tracy Spratt
acy Spratt Sent: Thursday, November 27, 2008 12:35 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection First, if you are using a tree, why have you chosen XMLListCollection instead of XML. For hierarchical d

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-11-27 Thread Tracy Spratt
First, if you are using a tree, why have you chosen XMLListCollection instead of XML. For hierarchical data, XML is easier to work with than nested collections. Next, you say, "XML doesn't send notifications". Why do you say that? And exactly what do you mean? XML is bindable. If you are