# External txt refreshed

**URL:** <https://forum.kirupa.com/t/external-txt-refreshed/185520>\
**Category:** flash\
**Created:** [April 13, 2006, 9:59pm UTC](https://forum.kirupa.com/t/external-txt-refreshed/185520 "2006-04-13T21:59:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vrtx](https://avatars.discourse-cdn.com/v4/letter/v/e99b99/32.png) [@vrtx](https://forum.kirupa.com/u/vrtx)\
**Post date:** [April 13, 2006, 9:59pm UTC](https://forum.kirupa.com/t/external-txt-refreshed/185520/1 "2006-04-13T21:59:04Z")

</div>

Hi,  
I use an external txt to load some vars… works fine… But when I change the values of vars in the txt, and reload the txt in my swf, the old values are still displayed. Only when I take a new browser I can see the changed values.

Does enybody know how to make sure I can load my changed vars from the txt without refreshing the internetbrowser?  
Yours, Edgar:jail:

---

<div class="post-metadata">

**Author:** ![Joppe](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Joppe](https://forum.kirupa.com/u/Joppe)\
**Post date:** [April 13, 2006, 11:50pm UTC](https://forum.kirupa.com/t/external-txt-refreshed/185520/2 "2006-04-13T23:50:41Z")

</div>

have you tried something like  
url = [Http://www.yoursite.com/yourfolder/yourtext.text+?Math.random(61497)](Http://www.yoursite.com/yourfolder/yourtext.text+?Math.random(61497))  
I think the code was something like that

---

<div class="post-metadata">

**Author:** ![vrtx](https://avatars.discourse-cdn.com/v4/letter/v/e99b99/32.png) [@vrtx](https://forum.kirupa.com/u/vrtx)\
**Post date:** [April 14, 2006, 1:40pm UTC](https://forum.kirupa.com/t/external-txt-refreshed/185520/3 "2006-04-14T13:40:16Z")

</div>

I found a solution! It is somthing with random like your hint told me… An Identifyer…  
[http://www.kirupa.com/developer/actionscript/tricks/cache.htm](http://www.kirupa.com/developer/actionscript/tricks/cache.htm)  
Here I found a script that solved the problem… Cache problem it was indeed.  
Thanx Kirupa!  
:thumb2:
