# Problem importing text data into dynamic text field

**URL:** <https://forum.kirupa.com/t/problem-importing-text-data-into-dynamic-text-field/252520>\
**Category:** Uncategorized\
**Created:** [February 20, 2008, 10:05pm UTC](https://forum.kirupa.com/t/problem-importing-text-data-into-dynamic-text-field/252520 "2008-02-20T22:05:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![metazai](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/metazai/32/1509_2.png) [@metazai](https://forum.kirupa.com/u/metazai)\
**Post date:** [February 20, 2008, 10:05pm UTC](https://forum.kirupa.com/t/problem-importing-text-data-into-dynamic-text-field/252520/1 "2008-02-20T22:05:14Z")

</div>

Head slowly banging into wall on this one. I’ve done it before but for some reason I’m missing something here.

Particulars – I’ve got a flash movie with a menu that jumps to a particular frame to load a page. On that frame, there is a movie clip (instance name: scrollbox\_frame), and in that movie clip there is a four-layer animation. One of the layers is not animated but contains a dynamic text box (instance name: about\_frame), with multi-line and HTML turned on, and a variable name of “aboutus”. This is the code that is triggered by the menu button on the root of the flash movie:

```auto
myVariables = new LoadVars();
myVariables.load("text1.txt");
myVariables.onLoad = function(success){
if(success){ 
about_frame.text=myVariables.aboutus;
}
}

```

and this the text1.txt document:

```auto
aboutus=ABOUT US <br>blah blah blah

```

It’s not working, and I’ve tried seemingly dozens of permutations. What am I missing? Anybody?
