Smart space between text boxes

Hi everyone,
I’ve seen this done but I’m not exactly sure how to get it. I’m trying to learn AS3 (I wasn’t very good at 2 either) and woudl like to know how to do a series of textboxes that are loaded from xml and know where the bottom of the one above it is at. This way if it’s multilined, it will take that into account before it places then next box.

I’m also having some trouble with styles and text format with this. it doesn’t seem to want to work. stylesheets or TextFormat. can somebody point me to some examples? Preferably not an actionscript file.