• 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 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}.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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