# Vertical Align Text

**URL:** <https://forum.kirupa.com/t/vertical-align-text/284401>\
**Category:** flash\
**Created:** [March 18, 2009, 8:59pm UTC](https://forum.kirupa.com/t/vertical-align-text/284401 "2009-03-18T20:59:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phaedo5](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@phaedo5](https://forum.kirupa.com/u/phaedo5)\
**Post date:** [March 18, 2009, 8:59pm UTC](https://forum.kirupa.com/t/vertical-align-text/284401/1 "2009-03-18T20:59:14Z")

</div>

I have a dynamic textfield that I am creating in an as3 class. It’s a set pixel height. Sometimes it will have up to three lines, but sometimes only one.

I know there is not vertical align property. But what would be the solution for aligning this to the bottom?

In as2 there was a way to count lines. But I’m having trouble finding that in as3. Not to mention, once I have a line count, how will I shift it down.

Any help would be great!
