Getting a value based on variable result

Here’s what I’m trying to do. I’ve got a movie clip that contains a varying number of text fields based on loaded XML data. The heights of the text fields will change depending on the amount of text loaded in.

Since this is driven by XML, I’m using a for loop to walk the tree and create array references for my text fields.

I need to determine the final height value of all these text fields in order to calculate the _y coordinate for another movie clip. And my natural inability to think mathematically is hamstringing my efforts.

Any solutions are welcome and appreciated!