13 Replies Latest reply on May 8, 2006 7:34 AM by kglad

    Problem accessing data from LoadVars

      Hello All,

      I posted a similar topic a little while ago, the problem was solved.... but I've decided to go back and rework my code because it was a mess and I needed to simplify it. Of course, now when I try to do a basic LoadVars(); I run into problems. I'm loading a single variable text file, and I want to be able to access the results outside the onLoad afterwards. The trace file inside my onLoad event handler returns what I expect, but my trace at the end returns an empty string (as defined in my variable declaration) instead of the variable from my text file.

      Is there a way I can access this data outside the onLoad handler? and then return it from my loadWords function?