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 = and == ?

A1:

A single equals symbol is an assignment. It is how you set a variable to a value. A double equals symbol is a test. It compares the values on either side.

2:

Can you access global variables inside a function?

A2:

Yes. You can access global variables anywhere in that timeline. However, you can access local variables only in the code segment, such as a function, in which they appear.

3:

When you make a comparison, how many possible outcomes are there?

A3:

Only two: true or false. Either the comparison works out, or it doesn't.

4:

How many different types of loops are there in ActionScript?

A4:

Three: the for loop, the do loop, and the while loop.

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