• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Scripting for Sound > CONTROLLING VOLUME

CONTROLLING VOLUME

Everything we’ve done to this point has been in preparation for the next several exercises. Although controlling the volume of a movie clip instance with an attached Sound object is pretty straightforward, we plan to take an extremely dynamic approach to the process.

You’ll remember that in the first exercise in this lesson, we created a Sound object named bounce and associated it with the basketball movie clip instance. This movie clip instance contains a bounce sound that plays when the ball appears to hit the floor. To adjust the volume of this Sound object, you would use the following syntax:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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