Loading a variable to do something

I actually had it working earlier, but accidentaly erased the code that made it work. I have a text file that says:
Now, what I want Flash to do with that is tell a movieClip called x7y7 to gotoAndStop(2);. I think I used LoadVars() to get it to work. This was the last chuck of code that I tried:

lv = new LoadVars();
lv.onLoad = function (success){
if (success){
_root.crap = this.taken;
trace (crap);

I’m using the individual pieces of code in other places, so I know that it works, just not here. Am I missing something?? Or does anyone have a different idea??