When Matthew Ammann was following the base AS3 tutorial, he wrote a new class, SoundObject, to manage all the sounds inside his game.

He’s posted this class on his blog so that everyone can use it — and on top of that, he’s written a great tutorial to explain how it all works!

This makes it easy to mute songs, and switch between different tracks from different screens.

Check it out here. Thanks, Matthew!