Using Loadvars to load a boolean value from a text file

I’m quite new to actionscript so i hope i give enough info on this one.

I am trying to control the visibility of a movie clip using a boolean variable contained within a text file.

The mc i want to make invisible is in a swf which is loaded into a ‘master.swf’ using a MovieClipLoader object.

I have managed to get text to display across various boxes in my loaded (child) MC using a loadvars obeject defined in the masterMC and used by the childMC. I just cant seem to be able to get the value of my Boolean variable to go with the text variables and therefore control the visibilty of my MC.

This is my code - (in the master movie):

var myLV:LoadVars = new LoadVars();
myLV.onLoad = function(success) {
if (success) {
_level5.portfolio.loadedInfo.htmlText = myLV.info //this loads correctly
_level5.portfolio.workTitle.text = myLV.header //this loads correctly
_level5.portfolio.workMiniTitle.text = myLV.header //this loads correctly

_level5.webAddress = myLV.webLink //###this does not seem to load##

} else {
_level5.portfolio.loadedInfo.text = “There has been an error loading the requested information. Please contact the web master to report this error.”;
}

This is the code that i think should load the webAddress variable into the child movie:

function loadWork() {
_level0.myMCL.loadClip(“work/work.jpg”, this.portfolioMC);
_level0.myLV.load(“work/work.txt”, this.portfolio.loadedInfo); // the webLink variable locat

trace (webAddress); //###this trace comes back as undefined

if (webAddress = false){
this.portfolio.webAddressMC._visible = false;
}
}

Any help on this would be great, as i have been scanning sites and forums for two days now!

Thanks