# loadVariables? Q

**URL:** <https://forum.kirupa.com/t/loadvariables-q/243326>\
**Category:** flash\
**Created:** [November 5, 2007, 9:05pm UTC](https://forum.kirupa.com/t/loadvariables-q/243326 "2007-11-05T21:05:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigi\_Vercotti](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Post date:** [November 5, 2007, 9:05pm UTC](https://forum.kirupa.com/t/loadvariables-q/243326/1 "2007-11-05T21:05:41Z")

</div>

you’ve got the dynamic text field on the stage…

key frame **[SIZE=3][COLOR=Red]1st[/COLOR][/SIZE]** has this action \*\*\*this.loadVariables(“text/eshopItem.txt”); \*\*\*  
variable’s name “engine”  
key frame **[SIZE=3][COLOR=Red]2nd[/COLOR][/SIZE]** has this action \*\*\*this.loadVariables(“text/eshopItem.txt”);  
\*\*\*variable’s name “chassi”

Can you load more then one variables from one text file???  
I tried this:  
eshopItem.txt  
engine=blabla  
chassi=bla…  
and of course it doesn’t work…it only works the first variable…

The reason is that I want always load the different word in each key frame and I don’t like to have so many text files.
