CHAPTER 8

image

Using Audio

This chapter covers the following topics:

  • How to load sound files
  • How to control audio behavior
  • How to read and display audio ID3 information
  • How to display the sound spectrum
  • How to control sound volume and panning

The value of sound is subtle and undervalued. Often, it makes the difference between a good site and a great site. Sound is similar in many ways to video in ActionScript 3.0. It contains overhauled properties and functionality, which were long overdue in ActionScript 2.0.

In this chapter, you will learn about the basics of using sound, including how to load, play, and control audio, as well as some of the new ...

Get Foundation ActionScript 3, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.