# Loading dynamic text problem

**URL:** <https://forum.kirupa.com/t/loading-dynamic-text-problem/121169>\
**Category:** Uncategorized\
**Created:** [August 31, 2004, 1:29pm UTC](https://forum.kirupa.com/t/loading-dynamic-text-problem/121169 "2004-08-31T13:29:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danx](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@danx](https://forum.kirupa.com/u/danx)\
**Post date:** [August 31, 2004, 1:29pm UTC](https://forum.kirupa.com/t/loading-dynamic-text-problem/121169/1 "2004-08-31T13:29:30Z")

</div>

Hi there,

I wonder if anyone can help. I’ve been trying to load an external text file on release and have done this without a problem on a separate movie but I just can’t get it to work on the attached movie - most frustrating! Here’s the code attached to the movie clip but it’ll probably be clearer if you have a look at the movie.

Thanks in advance

Dan

on (rollOver) {  
bounce = false;  
// this controls the scaling for the bounce effect  
// you can change these to make the bounce big or small  
// multiplication makes it bigger  
// division makes it smaller  
xscale = Number(xscale_1.2);  
yscale = Number(yscale_1.2);  
\_root.x = 1;  
\_root.caption.words = “Chartwell Investment”;

}  
on (rollOut) {  
bounce = false;  
// this resets the scaling for the bounce effect  
// this number has to match the “xscale” and “yscale” at the top layer of this clip  
xscale = Number(100);  
yscale = Number(100);  
\_root.x = 0;  
\_root.caption.words = " ";  
}  
on (release) {  
loadText = new loadVars();  
loadText.load(“text/fs.txt”);  
//creating the loadVarsText function  
loadText.onLoad = function() {  
scroller.text = this.fstext;  
};

}
