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

2008-11-28 Thread shauncutts
Ah --- Ok, I didn't know how to interpret your earlier statement about not being able to use a variable containing a reference... but this fragment makes it clear that I can use delete -- for instance, to delete a non-root node, I can say: delete node.parent().children()[ node.childIndex() ];

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

2008-11-28 Thread shauncutts
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > 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. I thought an XMLListCollection was what you should

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

2008-11-27 Thread shauncutts
valdhor" <[EMAIL PROTECTED]> wrote: > > File a bug. > > I can see why it is failing but it should not crash the browser. > > > --- In flexcoders@yahoogroups.com, "shauncutts" wrote: > > > > The following code will crash Flash 9.0 r124 (de

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

2008-11-25 Thread shauncutts
The following code will crash Flash 9.0 r124 (debug version) when built with flex builder 3.0: (flash running on either Firefox or Safari, MacOS) http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="dotest();">