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 do you need to do to a sound in the Library to allow ActionScript to be able to access it?

A1:

You need to set its Linkage properties to export with the movie and give it a linkage name .

2:

How do you get a sound to loop infinitely?

A2:

You can't. Instead, set it to loop a large number of times, like 9999.

3:

What are two ways to determine whether a sound is finished?

A3:

If the sound is not looping, position equals duration . However, if the sound loops , the only way to tell is to make an onSoundComplete function.

4:

What sound transform would silence the left channel, but play the right channel at half volume in both speakers ?

A4:

You would use the transform {ll: 0, lr: 50, rr: 50, rl: 0}.

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