Do you have your whole system set up correctly? Here is what you need to do:
1. Give your Dynamic Text box a variable name (for this I will use "myText")
2. In the .txt you are loading, you need to state the variable name:
Code:
myText= blah blah this is loaded blah blah
3. Now we need to load the text into the MC, not at root level. So we have a button (lets call it btn1 since you have 10) and we want to load it into MC named content3..
Code:
but1.onRelease=function(){
loadVariablesNum ("data.txt", "_root.content3");
}
4. Ensure all .txt files and the swf/html are in the same folder when uploaded. <~~ Most common mistake
That should do it.
Bookmarks