# Total index of list

**URL:** <https://forum.kirupa.com/t/total-index-of-list/219435>\
**Category:** Uncategorized\
**Created:** [March 16, 2007, 2:07pm UTC](https://forum.kirupa.com/t/total-index-of-list/219435 "2007-03-16T14:07:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mastermode](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@mastermode](https://forum.kirupa.com/u/mastermode)\
**Post date:** [March 16, 2007, 2:07pm UTC](https://forum.kirupa.com/t/total-index-of-list/219435/1 "2007-03-16T14:07:36Z")

</div>

so…what i don’t know how to do now is this thing:

i have an xml file, that has lets say n nodes. in the .fla file, i have a list, that is bound to the xml schema, taking the name from each of the node. i have some AS scripted to this list, which includes the total number of fields. how do i get that number, as a general (like n, or totalIndex [dunno if exists], not a number) ?

help please

cheers
