# Loading variables issue

**URL:** <https://forum.kirupa.com/t/loading-variables-issue/150027>\
**Category:** Uncategorized\
**Created:** [June 3, 2005, 2:26am UTC](https://forum.kirupa.com/t/loading-variables-issue/150027 "2005-06-03T02:26:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thenachox](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thenachox/32/1346_2.png) [@thenachox](https://forum.kirupa.com/u/thenachox)\
**Post date:** [June 3, 2005, 2:26am UTC](https://forum.kirupa.com/t/loading-variables-issue/150027/1 "2005-06-03T02:26:36Z")

</div>

easy and simple code. it’s not suposed to give so much problems, look:

—textos.txt [coded in unicode]—  
introtxt=text one, all right  
&expl=text two, all right, right?

—actionscript [2.0] inside the first and only frame of a m.c. called ‘txt’—  
loadVariables(“textos.txt”, this);  
exptxt = expl;

there’s a dynamic text box with the variable exptxt, and still when i test it, i see ‘undefined’ - but if i put expl as variable of the text, it loads it perfectly. then it loads the vars for the screen and not the action script? or what? how do i solve this?
