Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


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

Chapter 19. Working with Sound > Monitoring Playback Progress

Monitoring Playback Progress

Monitoring the progress of a sound as it plays back requires a few techniques:

  • The SoundChannel.position property, which returns the current position of a sound (in milliseconds)

  • The length property of the Sound class (in milliseconds)

  • A Timer object that checks the current position of a sound using the SoundChannel.position property at regular intervals


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint