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

Workshop

The quiz questions are designed to test your knowledge of the material covered in this hour. The answers to the questions follow.

Quiz

1:What is the difference between loadVariables and load?
A1: The loadVariables command creates or replaces variables at the same level as the command. The load command creates properties in the LoadVars object.
2:How many ways are there to send data to the server with a LoadVars object?
A2: There are two primary functions: send and sendAndLoad.
3:Is there any way to send or load data from another server?
A3: No. At least not while the movie is being run from a Web site. Data and CGI programs must be on the same server for security reasons.
4:Name three ways to determine when a sendAndLoad command is finished.
A4: You could define an onLoad function, you could test the loaded property of the LoadVars object, or you could test the getBytesLoaded and compare it to the getBytesTotal properties of the object.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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