32 SoundChannels Limit

Im currently working on a small physics game involving a lot of sound fx  when collision occur. Object bouncing against walls, each other and so on.
I ran into the issue that more that 32 active SoundChannels are not supported by Flash/AIR.  I was having lots of bounce sound fx playing and then the player would die, but no sound appear because the 32 limit was occupied by all the bounce fx.

I came of with a very simple solution for this: (more…)