# Textfield char width Calculation

**URL:** <https://forum.kirupa.com/t/textfield-char-width-calculation/160074>\
**Category:** flash\
**Created:** [August 23, 2005, 6:20am UTC](https://forum.kirupa.com/t/textfield-char-width-calculation/160074 "2005-08-23T06:20:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sazakir](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@sazakir](https://forum.kirupa.com/u/sazakir)\
**Post date:** [August 23, 2005, 6:20am UTC](https://forum.kirupa.com/t/textfield-char-width-calculation/160074/1 "2005-08-23T06:20:10Z")

</div>

I have a movieclip object, in which i create textfields dynamically.

For each line of display i would like to create a text field and display the text. For this i need to know the maximum characters that can fit into the text field for the current formatting of the text field.

Can somebody help ?
