Dynamic text not on _root level problems. HELP!

Hi there,
I’ve got a strange problem here maybe some1 can help me with…

I’m using the following code to add text from a text file dynamically:

==============================
loadText = new LoadVars();
loadText.load(“loc.txt”);
loadText.onLoad = function(success) {
if (success) {
locationtext.html = true;
locationtext.htmlText = this.loc;
trace(_root.mc_main.locationtext._x);
}};

where ‘locationtext’ is the name of my dynamic text field, and ‘loc’ is the pointer word in my ‘loc.txt’ file.

Now, this works fine if I’ve got the code and the dynamic text field on the _root level, but when I try to put it on another level (_root.mc_main) the text doesn’t appear when running.

So I tried to change the code to the following:

==============================
loadText = new LoadVars();
loadText.load(“loc.txt”);
loadText.onLoad = function(success) {
if (success) {
_root.mc_main.locationtext.html = true;
_root.mc_main.locationtext.htmlText = this.loc;
}
};

but It still doesn’t get the text showing, I know the path is right as
“trace(_root.mc_main.locationtext._x);” outputs the correct ‘._x’ value of the dynamic text box.

Any help would be great!!