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
  • PrintPrint
Share this Page URL
Help

Chapter 9. Controlling Sound with Action... > Adding a listener for the ID3 tags o...

Adding a listener for the ID3 tags of an MP3 file

The MP3 file format allows for the insertion of text-based data into the file. These “ID3” tags in an MP3 file are typically used to store information about the file such as the name of the song, the artist, album, date of release, and so on.

ActionScript is capable of reading and displaying this ID3 data from a loaded MP3 file. There is even a built-in event in the Sound class that responds to the successful loading of ID3 tags from an MP3 file. You will use this ID3 event to call a function to display information about the currently playing song in your interface.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


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