Another dynamic text problem

I’ve loaded a text file with my variables in it, and am trying to make buttons change the content of text box to one of my several variables… basicly each button corresponds to a variable that should display a text string.

Can’t get the button to load the variable, when clicked the box displays “undefined”.

Any help would be great.

**All I really need is a code chunk for the variable loading (which I have) and for the individual button (which is where my problem lies)