Hi,

Your problem is that you have both items in the dataProvider
referenceing the same object.

Remove

private var authorObj:Object = new Object();

and add:

var authorObj:Object = new Object();

right above:

authorObj.name = author.name;

This will create a new object for each node in the XML.

-TH

p.s. sounds very familiar to a previous post today. :-)

--- In [email protected], "flexawesome" <[EMAIL PROTECTED]>
wrote:
>
>
> I was trying to covert the XML file into ArracyCollection, but I had a
> problem for binding with DataGrid. It was showing the same record in
> twice on the DataGrid.
>
> The sample file was simple
>
>
> http://www.privatepaste.com/2c1WhD4jvj
>
> Would you pls take a look?
>
> Have a nice weekend
>


Reply via email to