3 Replies Latest reply on Nov 15, 2007 3:02 PM by Greg Dove

    Simple way to load all text from a file?

    sammnm
      LoadVars ... Is there a way to load the whole note file insted of using vars and & for adding extra vars?

      If not adobe could make a simple way of doing this for people that might need to use "&" and "=" signs in there files..
      // note file var=this is the first text. & var2=part two.

      // loads vars
      myVars.load("file.txt","true");
      // output: this is the first text. part two.

      // loads all the note file content
      myVars.load("file.txt","false");
      // output: var=this is the first text. & var2=part two.

      Well if anyone knows a simple way please let me know if not adobe think about it :-).