Attaching Text File Flash Player v7 problems

I am trying to read from a text file that is in the same directory with the .swf, and when I publish the movie to a Flash Player v7.0, the variable that I am setting to the text string in the file always comes back as ‘undefined’ but when i publish with Flash Player v6 it works fine.

I am using loadVars() - is there a known issue with this in the player v7? Anyone know how to fix it?

Try using [font=Courier New]LoadVars()[/font] instead (note the capital L)