# Loading variables for website with LoadVars

**URL:** <https://forum.kirupa.com/t/loading-variables-for-website-with-loadvars/146298>\
**Category:** Uncategorized\
**Created:** [April 29, 2005, 8:05pm UTC](https://forum.kirupa.com/t/loading-variables-for-website-with-loadvars/146298 "2005-04-29T20:05:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jankratochvil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jankratochvil/32/566_2.png) [@jankratochvil](https://forum.kirupa.com/u/jankratochvil)\
**Post date:** [April 29, 2005, 8:05pm UTC](https://forum.kirupa.com/t/loading-variables-for-website-with-loadvars/146298/1 "2005-04-29T20:05:43Z")

</div>

I load varibles from one file e.g myvars.as to one SWF.

In this file i store all text for the website. I have about 50 varibles with text.

I load variables every time on the certain frame or with button action when needed in movie.

Is it good way? O can i somehow load all variables only one time and than only call this loaded variables?

I ask because if i use

```auto
LoadVars.Load

```

and i load only one or two variables i see in debugger all variables of my exteranal file myvars.as

Thank you for all ideas 🙂
