_getTotalChildNodes?

Hi,…

I kinda got stuck. :frowning: So I hope somebody can help me out.

I load some data from an external xml-file into a flashmovie and
everything is working great.

What I want/need now is that Flash detects how many childnodes there are in the xml root.

for example:


< r o o t >
     < c h i l d 1 >
            < a n o t h e r />
     < /  c h i l d 1 >
     < c h i l d 2 / >
     < c h i l d 3 / >
< / r o o t >

Is it possible that flash detects that there are 3 childNodes and returns the value 3?

Thanx already.