# Swf and dynamic text help

**URL:** <https://forum.kirupa.com/t/swf-and-dynamic-text-help/160552>\
**Category:** flash\
**Created:** [August 26, 2005, 8:55pm UTC](https://forum.kirupa.com/t/swf-and-dynamic-text-help/160552 "2005-08-26T20:55:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlink](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dlink](https://forum.kirupa.com/u/dlink)\
**Post date:** [August 26, 2005, 8:55pm UTC](https://forum.kirupa.com/t/swf-and-dynamic-text-help/160552/1 "2005-08-26T20:55:05Z")

</div>

I’m trying to make my 1st all flash site for my myspace. So, I guess I’m a newb…anyway…I’m using flash mx 2004 and I have the buttons and interface/content setup. I’m trying to use multiple swf files for each button. I have a couple problems at the moment, but I want to just take them step by step.

I’ve created the first swf file for my first button using the textarea component which creates an automatic scrollbar when text overflows. I read the tutorial here at kirupa for dynamic text fields and used this AS:

> 

on (release) {  
loadText = new LoadVars();  
loadText.load(“tbox1.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
tbox1.html = true;  
tbox1.htmlText = this.aboutMe;  
}  
};  
}  
Now on my main project swf, that contains the buttons and content, I have this AS on the button:

> on (press) {  
> }loadMovie(aboutme.swf);

Now the problem is I get this error when I play the movie to try and get the external text file to load in the main movie:

> **Error** Scene=Scene 1, layer=buttons, frame=1:Line 2: Wrong number of parameters; loadMovie requires between 2 and 3.  
> }loadMovie(aboutme.swf);  
> Total ActionScript Errors: 1 Reported Errors: 1

Can I get some help with this? I don’t know how to fix this…sorry if this is really simple, but I’m just learning. Thanks for any help.
