PDA

View Full Version : AS3: SoundManager



mprzybylski
July 15th, 2008, 01:10 PM
View Documentation (http://evolve.reintroducing.com/_source/classes/as3/SoundManager/SoundManager.html)
View Blog Post/Download Class (http://evolve.reintroducing.com/2008/07/15/news/as3-soundmanager)

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

Dom_
July 15th, 2008, 06:47 PM
neat class, although i feel the sounds "should" be kept in a seperate class, like a sound collection, but thats just me being picky

mprzybylski
July 15th, 2008, 06:51 PM
yeah, that is being picky :P

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.

Dom_
July 15th, 2008, 06:57 PM
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 :)

dail
July 15th, 2008, 09:28 PM
Pretty damn nice!

mprzybylski
July 15th, 2008, 10:16 PM
thanks dail.