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

Chapter 18. Controlling Sound Using the ... > Starting and Stopping a Sound

Starting and Stopping a Sound

Your Sound object has been created, and the sound has been attached. So why can’t you hear anything yet? You can’t hear anything because you haven’t explicitly told the Sound object to start playing the sound. You have to use the Start method of the Sound object to make the sound start playing. This method has the following syntax:

mySound.start([secondOffset, loop]); 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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