# Problem with Dynamic Text

**URL:** <https://forum.kirupa.com/t/problem-with-dynamic-text/122148>\
**Category:** Uncategorized\
**Created:** [September 10, 2004, 5:53pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text/122148 "2004-09-10T17:53:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![planetSim](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@planetSim](https://forum.kirupa.com/u/planetSim)\
**Post date:** [September 10, 2004, 5:53pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text/122148/1 "2004-09-10T17:53:33Z")

</div>

Hello to all, I’m a new user who just stumbled onto the site when i searched for anyone other than Macromedia to help me with flash. here’s my problem;

I’m trying to load dynamic text into a textbox named intbox

with this code, which I grabbed from this site and modified slightly for my use

loadText = new loadVars();  
loadText.load(“intro.txt”);  
//creating the loadVarsText function  
loadText.onLoad = function() {  
intbox.text = this.introtext;  
};

but I keep getting this message;

**Warning** Scene=Scene 1 fade, layer=dynamic text, 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

can anyone possibly tell me why?

thanks in advance,

Sim
