# Update variables and reload?

**URL:** <https://forum.kirupa.com/t/update-variables-and-reload/59010>\
**Category:** Uncategorized\
**Created:** [July 27, 2004, 7:10pm UTC](https://forum.kirupa.com/t/update-variables-and-reload/59010 "2004-07-27T19:10:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)\
**Post date:** [July 27, 2004, 7:10pm UTC](https://forum.kirupa.com/t/update-variables-and-reload/59010/1 "2004-07-27T19:10:34Z")

</div>

Hello,

I’m loading a .txt file using a good ol LoadVars. But if i modify my .txt and reload the .txt with a button, it doesn’t update it in flash, like it’s in its cache or something… How to make it reload??  
Any idea ???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 27, 2004, 8:36pm UTC](https://forum.kirupa.com/t/update-variables-and-reload/59010/2 "2004-07-27T20:36:43Z")

</div>

> [@Uli](#):
>
> Hello,
> 
> I’m loading a .txt file using a good ol LoadVars. But if i modify my .txt and reload the .txt with a button, it doesn’t update it in flash, like it’s in its cache or something… How to make it reload??  
> Any idea ???

[http://www.bokelberg.de/actionscript/25.html](http://www.bokelberg.de/actionscript/25.html)

another solution is to add a random number

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 27, 2004, 10:02pm UTC](https://forum.kirupa.com/t/update-variables-and-reload/59010/3 "2004-07-27T22:02:16Z")

</div>

> [@stringy](#):
>
> [http://www.bokelberg.de/actionscript/25.html](http://www.bokelberg.de/actionscript/25.html)
> 
> another solution is to add a random number

Just what i needed, thanks a bunch :cool:
