# Reading last line of textfile

**URL:** https://forum.kirupa.com/t/reading-last-line-of-textfile/109773
**Category:** Uncategorized
**Created:** [May 9, 2004, 3:50am UTC](https://forum.kirupa.com/t/reading-last-line-of-textfile/109773 "2004-05-09T03:50:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![at0x](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@at0x](https://forum.kirupa.com/u/at0x)
#### Post date: [May 9, 2004, 3:50am UTC](https://forum.kirupa.com/t/reading-last-line-of-textfile/109773/1 "2004-05-09T03:50:31Z")

</div>

Hello,

I am currently writing a flashscript that displays the contents of a text file.  
I need to keep refreshing the data in the text file, because of data constantly being added to the text file.  
Does anyone have a idea if it’s possible to read only the last line of text into flash?  
(because of a data size of 65Kb + it’s impossible to just keep reading the text file over and over)
