Maximum number of simultaneous sounds in as3?

Hi there, I am creating an interactive piece for a uni project (I am Flash Noobish) and I’ve hit a dead end. :frowning:

Currently my flash file will insert an object onto the stage when the user clicks onto the stage. each object will play and loop a sound (the user can select sounds and time before the sound loops for each object) but when I have many sounds playing at once, the sounds will suddenly stop and briefly come back before stopping again. Now I’m guessing there must be a maximum number for sounds simultaneously playing for a flash movie? If so, I’d like to know if there are any workarounds?

At present, a sound playing about 2 times a second will be able to repeat roughly 30 times before it sound cuts out.

I added in functionality to stop a sound if it is attempting to trigger again in my play function to which I had a “cannot access a property or method of null object reference” output on the function and the sounds all started doing the same thing again. This happens the same as above, after 30 times playing 2 a second.

Unless I’ve assessed the cause incorrectly, the only workarounds I can think of are to restrict the sound length and restrict the time before a sound loops - but this would ruin some of the aspects of what I wanted to create :frowning:

Any help appreciated!

Thanks

Karl