Iterating through an object [AS1]

Hi,

I’ve parse my XML into a nice object, so it can be handled well.

e.g. I can reference things directly like so:
newsArticle.1.title.
newsArticle.5.content

The problem is, I don’t know how many newsItems there are.
How can I cycle though all the child elements on ‘news’

In XML, this would be quite easy, using .nextSibling etc… What’s similar for Objects?

thanks,