Controlling sound on a button in Flash CS5
I am new to flash so please excuse the question if its super beginner.

In my flash documents I'm creating several buttons on a page that will trigger sound when the user press a given button.  The attached audio ranges from 1 - 2 min in length, so I want to give the user the option to turn off the sound for a given piece if they so choose.  I've done so by having a button on the page with the following AS3:

    import flash.media.SoundMixer; 
    myButton.addEventListener(MouseEvent.CLICK,fn_clickHandler); 
    function fn_clickHandler(IN_Event:MouseEvent):void
    {         
    SoundMixer.stopAll();     
    }

I want to make sure that a user does not play more than one sound at a time, could someone inform me of how to apply that?

Thank you
Controlling sound on a button in Flash CS5
===

I am new to flash so please excuse the question if its super beginner.

In my flash documents I'm creating several buttons on a page that will trigger sound when the user press a given button.  The attached audio ranges from 1 - 2 min in length, so I want to give the user the option to turn off the sound for a given piece if they so choose.  I've done so by having a button on the page with the following AS3:

    import flash.media.SoundMixer; 
    myButton.addEventListener(MouseEvent.CLICK,fn_clickHandler); 
    function fn_clickHandler(IN_Event:MouseEvent):void
    {         
    SoundMixer.stopAll();     
    }

I want to make sure that a user does not play more than one sound at a time, could someone inform me of how to apply that?

Thank you