How do i get the height of a dynamic textfield? I need this to place the textfield relative from the bottom.
//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?