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

The LoadVars Object

The LoadVars object, introduced back in Flash MX, is an object whose sole purpose is to send and load data in and out of Flash. Because it is its own object with its own events, properties, and methods, you do not have to create a movie clip object to hold the data (which would take up more memory).

Creating a LoadVars object is the same as creating any other object. Create a variable, give it a name, and set it to a new LoadVars() object like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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