When running my AIR Application I'm reading a counter of a .txt file by clicking a Btn.
Then I submit/write to the text file by clicking another Btn. I also clear the TextArea and everything works fine, but after writing to the file I use a delay Timer (6 sec.) before starting to read again hoping that it would read the new counter, but it does not !
If anybody has an idea about this to get the NEW reading of that text file ???