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

The Sound Object

The Sound object lets you use ActionScript to attach and control sounds in any time-line of your movie. You can use the Sound object to attach a sound to an instance of a movie clip or the main timeline. You then can start and stop that sound, as well as control its volume and pan. Before you can attach or control a sound, you must use the Sound object constructor to create an instance of the Sound object. The syntax for the Sound object constructor is this:

new Sound(target); 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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