Hey. I know this is an old thread, but I'm having issues with this. I initially set up my .fla to import a .txt file. This way:

myData = new LoadVars();
myData.onLoad = function(success) {
if...