Urgent help needed with loadvars!

ok so here it is… fairly new to flash and cant work out why this isnt working…

I have a txt file with a variable in it. When a button is clicked the variable is loaded. then I want to load a swf movie depending on what the text is in the variable…

here is my code…

on (release) {
loadText = new LoadVars();
loadText.load(“file.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
_root.fileBox = this.myFile;
}

if (_root.fileBox == “movie”) {
loadMovie(“playermovie.swf”, _root.dummy);
} else {
loadMovie(“playerimage.swf”, _root.dummy);
}
};

Any takers!!!

cheers