# Text Field not displaying text file format

**URL:** <https://forum.kirupa.com/t/text-field-not-displaying-text-file-format/292124>\
**Category:** flash\
**Created:** [July 10, 2009, 10:43am UTC](https://forum.kirupa.com/t/text-field-not-displaying-text-file-format/292124 "2009-07-10T10:43:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![energy](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@energy](https://forum.kirupa.com/u/energy)\
**Post date:** [July 10, 2009, 10:43am UTC](https://forum.kirupa.com/t/text-field-not-displaying-text-file-format/292124/1 "2009-07-10T10:43:14Z")

</div>

Hello !

I’m reading text from a text file and displaying it into a text field. The problem is when i read it doesn’t display the text as it is in a text file. For ex - See below image

![](http://img190.imageshack.us/img190/2601/formatl.jpg)

Now , as you can see, second line in the text file starts right where first line ends.

But flash doesn’t display it like that. I have hundreds of lines and in most cases flash spaces consumes less space then a text file.

The font in both text field in Flash and notpad is to Arial so the font shouldn’t be a problem.

How can i make sure that it displays exactly like how it is there in my text file?

Thanks in advance!
