Load text from different movie

I would like to be able to load a text file in one movie by clicking on a button in a different movie. Here is the script I am using from one of the tutorials:

on (release) {
loadText = new loadVars();
loadText.load(“TEXT1.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}

I created a dynamic text box named “newsBox” in a movie called infoPg. I want to put the “on (release)” command on a button in a movie called nav_tools. The nav_tools movie is on the main timeline and the infoPg movie is loaded dynamically on the main timeline.

Also, do I need to put the text file on the same directory level as the flash file on my web server?

Any help would be great.

Jay

localConnection:


// Code in the receiving movie
receiving_lc = new LocalConnection();
receiving_lc.methodToExecute = function(param1, param2) 
{ 
  // Code to be executed
}
receiving_lc.connect("lc_name");
// Code in the sending movie
sending_lc = new LocalConnection();
sending_lc.send("lc_name", "methodToExecute", dataItem1, dataItem2)