# Error in scrolling dynamic text box

**URL:** <https://forum.kirupa.com/t/error-in-scrolling-dynamic-text-box/57835>\
**Category:** Uncategorized\
**Created:** [July 16, 2004, 3:13pm UTC](https://forum.kirupa.com/t/error-in-scrolling-dynamic-text-box/57835 "2004-07-16T15:13:11Z")\
**Posts on this page:** 4\
**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/57835/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~_~

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2004, 3:36pm UTC](https://forum.kirupa.com/t/error-in-scrolling-dynamic-text-box/57835/2 "2004-07-16T15:36:51Z")

</div>

Instead of loadVars use **L** oadVars.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2004, 3:52pm UTC](https://forum.kirupa.com/t/error-in-scrolling-dynamic-text-box/57835/3 "2004-07-16T15:52:36Z")

</div>

LoL tis amazing how one little letter can cause hours and hours of frustration. Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 16, 2004, 4:32pm UTC](https://forum.kirupa.com/t/error-in-scrolling-dynamic-text-box/57835/4 "2004-07-16T16:32:57Z")

</div>

Welcome 🙂
