Accessing random variables in external .txt file

Hi all,

I think this may be a simple solution, but I am not familiar enough with Flash to figure it out.

I have a .txt file with 10 variables containing 10 sentences. The variables are named myText1, myText2, myText3, etc.

I want to be able to load one of these sentences at random into a dynamic text box.

My plan was to generate a random number i and concatonate it to the variable name (ie myText + i) then call that in a LoadVars.

However, I am not able to properly reference it.

Any ideas?

Thanks,

Asheesh