by kirupa | 24 March 2010
Playing sounds in ActionScript is fairly straightforward thanks to the Sound class. All you really need to do is put the class to good use to that you can load a sound, buffer/preload it, and then play it. In this short article, I will provide you with the code you need and explain how everything works.
This is a companion discussion topic for the original entry at http://www.kirupa.com/developer/as3/playing_sounds.htm