# Dynamic text "undefined" error

**URL:** https://forum.kirupa.com/t/dynamic-text-undefined-error/162475
**Category:** flash
**Created:** [September 13, 2005, 6:13pm UTC](https://forum.kirupa.com/t/dynamic-text-undefined-error/162475 "2005-09-13T18:13:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xShckwVx](https://avatars.discourse-cdn.com/v4/letter/x/7ab992/32.png) [@xShckwVx](https://forum.kirupa.com/u/xShckwVx)
#### Post date: [September 13, 2005, 6:13pm UTC](https://forum.kirupa.com/t/dynamic-text-undefined-error/162475/1 "2005-09-13T18:13:30Z")

</div>

Hello,

I have used the Flash MX tutorial for the scrolling dynamic text and i always end up having “undefined” showing up instead of my txt file.

Here is the code i use

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

```

Thanks alot
