• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 22. External Communications > Loading Text Data with LoadVars

Loading Text Data with LoadVars

To get a piece of information from the server, you need to create the LoadVars object and then execute a load() method as follows:

var myLoadVars = new LoadVars();
myLoadVars.load("data.txt");


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint