Hello all, I have a problem, I need to remove an object from a nested array.  
Lets say I have this arraycollection

private var people:ArrayCollection = new ArrayCollection([
new Person("Grandma Susan", new ArrayCollection([
new Person("John", new ArrayCollection([
new Person("Timmy"),
new Person("Sammy"),
new Person("Alan")

])),
new Person("Tiffany", new ArrayCollection([
new Person("Billy"),
new Person("Adam"),
new Person("Graham"),
new Person("Vennesa")

])),
new Person("Michael", new ArrayCollection([
new Person("Jannette"),
new Person("Alan", new ArrayCollection([
new Person("Alice"),
new Person("Jane")

]))

])),
new Person("Peter"),
new Person("Cindy", new ArrayCollection([
new Person("Paul"),
new Person("David"),
new Person("Joseph"),
new Person("Cameron"),
new Person("Debra"),
new Person("Polly")

]))

]))

]);

How can I remove peter?

Thanks,
timgerr

Reply via email to