# Dynamically Loading Text which will change

**URL:** <https://forum.kirupa.com/t/dynamically-loading-text-which-will-change/198864>\
**Category:** flash\
**Created:** [August 29, 2006, 7:16am UTC](https://forum.kirupa.com/t/dynamically-loading-text-which-will-change/198864 "2006-08-29T07:16:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thesleuth](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@thesleuth](https://forum.kirupa.com/u/thesleuth)\
**Post date:** [August 29, 2006, 7:16am UTC](https://forum.kirupa.com/t/dynamically-loading-text-which-will-change/198864/1 "2006-08-29T07:16:49Z")

</div>

I need to load a text file into flash. I have tried this code:

```auto
myFile = new LoadVars();
myFile.("file.txt");
myFile.onLoad = function() {
    s_mc.s_txt.html=true;
    s_mc.s_txt.htmlText = this.cnt;
}

```

However, there are times when a user tells PHP to change the file content and my users that are using IE will not see my updated content unless they delete their Internet Files.  
Can anyone tell me which code I should use? Thanks.
