Xml node number HELP ME PLEASE

So I’ve created this thumbnail grid that uses xml. each thumbnail is a button that I would like to pass information on the another flash file. Here’s my problem. I can’t see to figure out the best way to figue out what node or xml branch I’m currently on. Is there an easy way to do this? I know how to get the total… But than where can I go? HELP ME PLEASE. I only need to extract the integer.

HELP