I have an ArrayCollection with following structure (when viewed in debug mode):
[0]
- [0]
-- src
- [1]
-- src
src is the path to an image.
I need to get all of the src's out of the arraycollection. However because of the first (unnamed) node i can't take them in.
I've tried ArrayCollection[0].children and save the result in another ArrayCollection, however the new ArrayCollection has 2 Objects in it but no 'src'. There are just 2 null objects
firstArrayCollection is filled with the data as described above.
secondArrayCollection.addItem(firstArrayCollection[0].children);
when viewing the content of secondArrayCollection i see following structure (and data):
[0] null
[1] null