# Dynamic text and height

**URL:** <https://forum.kirupa.com/t/dynamic-text-and-height/284843>\
**Category:** Uncategorized\
**Created:** [March 24, 2009, 11:06am UTC](https://forum.kirupa.com/t/dynamic-text-and-height/284843 "2009-03-24T11:06:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jo3\_14](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jo3\_14](https://forum.kirupa.com/u/jo3_14)\
**Post date:** [March 24, 2009, 11:06am UTC](https://forum.kirupa.com/t/dynamic-text-and-height/284843/1 "2009-03-24T11:06:48Z")

</div>

hello all,

im trying to find the height of a movie clip containing a dynamic text box loading an external text file. i need to determine the height of the movie clip outside of this function but whenever i try to do that i get the initial size of the movie clip and not the resized size after the external text has loaded. i have tried returning the height to this function but when i trace this value i simply get [type Function].

```
 [LEFT]

```

```auto
function loadInfoText() {
        info.projectInfo._width =200;
        info.projectInfo.multiline = true;
        info.projectInfo.wordWrap = true;
        info.projectInfo.autoSize = true;
        info.projectInfo.text = this.textfield;
        //info formatting
        info.projectInfo.antiAliasType = "advanced";
        info.projectInfo.thickness = 5;
        info.projectInfo.embedFonts = true;
        info.projectInfo.setTextFormat(info_format)
        
}

```

[/LEFT]

any ideas?

thanks,  
joe
