AS3: SoundManager

View Documentation
View Blog Post/Download Class

I don’t normally add sounds to my projects unless the client requests it but when they do I always struggle to cleanly do it. I just had to write a utility that would allow me to do this easily and quickly as sounds are usually an afterthought. After a little bit of programming and scouring the internet for examples, the SoundManager was born. Please review the blog posting for more info. Thanks.

  • Matt

neat class, although i feel the sounds “should” be kept in a seperate class, like a sound collection, but thats just me being picky

yeah, that is being picky :stuck_out_tongue:

you could put them in a collection but for the sake of brevity and only having to distribute one class i put it in a singleton. normally i usually store external data in a collection as you can see by the collection/iterator on my blog.

yeah I just like to have things where they should be at times, but that aside it’s a cool class, all the core sound functionalities are there :slight_smile:

Pretty ■■■■ nice!

thanks dail.