# Dynamicly loading text problem

**URL:** <https://forum.kirupa.com/t/dynamicly-loading-text-problem/133859>\
**Category:** Uncategorized\
**Created:** [January 12, 2005, 3:35pm UTC](https://forum.kirupa.com/t/dynamicly-loading-text-problem/133859 "2005-01-12T15:35:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ixus](https://avatars.discourse-cdn.com/v4/letter/i/edb3f5/32.png) [@ixus](https://forum.kirupa.com/u/ixus)\
**Post date:** [January 12, 2005, 3:35pm UTC](https://forum.kirupa.com/t/dynamicly-loading-text-problem/133859/1 "2005-01-12T15:35:35Z")

</div>

I came across the following lines of code in the tutorials section:

```auto
loadText = new loadVars();
    loadText.load("kirupa.txt");
    //creating the loadVarsText function
    loadText.onLoad = function() {
    		scroller.text = this.kirupatext;
    };

```

```
 This does NOT work for me..
 I get the following output warning:

```

**Warning** Symbol=menuAnim, layer=txtarea, frame=43:Line 1: The identifier ‘loadVars’ will not resolve to built-in object ‘LoadVars’ at runtime.  
loadText = new loadVars();

```
 I use MX 2004 and AS1.
 
 I'd like to use this, but i can't figure out what the problem is...
 
 The complete tut can be viewed here:

```

[dynamic\_scroller.htm](http://www.kirupa.com/developer/mx/dynamic_scroller.htm)

Thx in advance
