Workshop

I l @ ve RuBoard

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.

I l @ ve RuBoard


Sams Teach Yourself Flash MX ActionScript in 24 Hours
Sams Teach Yourself Flash MX ActionScript in 24 Hours
ISBN: 0672323850
EAN: 2147483647
Year: 2002
Pages: 272

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net