# Get dynamic textfield height?

**URL:** <https://forum.kirupa.com/t/get-dynamic-textfield-height/258240>\
**Category:** Uncategorized\
**Created:** [April 22, 2008, 12:11pm UTC](https://forum.kirupa.com/t/get-dynamic-textfield-height/258240 "2008-04-22T12:11:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [April 22, 2008, 12:11pm UTC](https://forum.kirupa.com/t/get-dynamic-textfield-height/258240/1 "2008-04-22T12:11:13Z")

</div>

How do i get the height of a dynamic textfield? I need this to place the textfield relative from the bottom.

```auto

//footer mc
var footer_mc:MovieClip
var footer:TextField;
var contentWebWidth = contentWeb._width;
var footerWidth:Number = contentWebWidth -50;
var offSet:Number = (contentWebWidth - footerWidth) /2;
var footerX:Number = -(contentWebWidth /2) + offSet ;
var footerHeight = (contentWeb.footer_mc.footer._height);
var footerY:Number = (contentWeb._height /2) - footerHeight;
contentWeb.footer_mc.footer._width = footerWidth ;
contentWeb.footer_mc.footer.wordWrap = true;
contentWeb.footer_mc.footer.multiline = true;
contentWeb.footer_mc.footer.autoSize = true;
contentWeb.footer_mc._x = footerX;
contentWeb.footer_mc._y = footerY;

trace ("Height: "+footerHeight);

```

My footer textfield is multiline but it doesn’t give me the corresponding textfield height??

Any tips?
