# Detect how many lines in txt box?

**URL:** <https://forum.kirupa.com/t/detect-how-many-lines-in-txt-box/156185>\
**Category:** flash\
**Created:** [July 23, 2005, 2:13pm UTC](https://forum.kirupa.com/t/detect-how-many-lines-in-txt-box/156185 "2005-07-23T14:13:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zimmermann](https://avatars.discourse-cdn.com/v4/letter/z/f19dbf/32.png) [@Zimmermann](https://forum.kirupa.com/u/Zimmermann)\
**Post date:** [July 23, 2005, 2:13pm UTC](https://forum.kirupa.com/t/detect-how-many-lines-in-txt-box/156185/1 "2005-07-23T14:13:01Z")

</div>

How do I detect how many lines there are in a dynamic text box? Or how high the lines are?

And can you getBytesLoaded of an externally loaded txt-file? I’m pretty sure you can’t - just checking 😉

Thanks
