# Error in scrolling dynamic text box

**URL:** <https://forum.kirupa.com/t/error-in-scrolling-dynamic-text-box/116327>\
**Category:** Uncategorized\
**Created:** [July 16, 2004, 3:13pm UTC](https://forum.kirupa.com/t/error-in-scrolling-dynamic-text-box/116327 "2004-07-16T15:13:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragonbaby](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@dragonbaby](https://forum.kirupa.com/u/dragonbaby)\
**Post date:** [July 16, 2004, 3:13pm UTC](https://forum.kirupa.com/t/error-in-scrolling-dynamic-text-box/116327/1 "2004-07-16T15:13:11Z")

</div>

I am using Flash MX 2004 professional

I followed the tutorial for creating a dynamic text box with a scroll bar. I am getting this error when I test the movie and when I open the swf file I can see the box but the text isn’t loading.

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

Total ActionScript Errors: 1 Reported Errors: 1

I have built other pages that are exactly the same and seem to be working fine. I originally built the .fla on a windows machine with flash mx 2004 and then put it in flash mx 2004 pro on the mac. I’m not sure what the problem is.

loadText = new loadVars();  
loadText.load(“about.txt”);  
// creating the loadVarsText function  
loadText.onLoad = function() {  
scroller.text = this.textField;  
};

Thats the actionscript on my actions layer.

Anyone that has any idea whats going on please let me know. Thanks.

~_~Joanna~_~
