I'm working with nested arrays of divisions in sports and need to flatten a nested array of divisions and subdivisions to find all instances of "division." I've been stumped how to recurse that structure so that I'm sure I traverse all branches of the array without arbitrarily setting a limit of how deep I will go searching for children. Suggestions on a script that should flatten any array of objects with children?
Thanks! -- Sent from: http://apache-flex-users.2333346.n4.nabble.com/