And if u want to use the loadVariables way:
loadVariables("text.txt", _root);
Submit.onRelease = function() {
if (urlcheck != "http://www.avalon-rev.dk") {
_root.myTextBox.text = "file not found - error";
} else {
_root.myTextBox.text = urlcheck;
}
};
Though i recommened LoadVars more, cuz it solves timing problem while loading, loadVariables does’nt. 