# Loading variables from text file

**URL:** <https://forum.kirupa.com/t/loading-variables-from-text-file/187461>\
**Category:** flash\
**Created:** [April 29, 2006, 9:02am UTC](https://forum.kirupa.com/t/loading-variables-from-text-file/187461 "2006-04-29T09:02:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johpoke](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@johpoke](https://forum.kirupa.com/u/johpoke)\
**Post date:** [April 29, 2006, 9:02am UTC](https://forum.kirupa.com/t/loading-variables-from-text-file/187461/1 "2006-04-29T09:02:47Z")

</div>

I need some help here, my flash movie uses the

```auto

loadVariablesNum("status.txt", 0);

```

To load certian variables from status.txt However it reloads the every 1 second. But then it doesnt re-load them it just takes them from cache or temporary internet files etc. I know it tries to re-load em, as if i run the swf on my comp it nowties if i remove it as it cant load it and find variables.

So is there a way to force flash mx to reload a text file? Pressing F5 in the browser does work, but thats not how i want it to work.

And a other question abot variables from text files, is there a way to make flash igore any empty lines? or just remove [enter] lines? so it becomes one long sentance with variables?

thanks

/Johannes
