You have to pause-resume it a second time.  The first pause-resume action works.

--- In [email protected], "joan_lynn" <[EMAIL PROTECTED]> wrote:
>
> I am not seeing the bug with this simple code:
> 
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> horizontalAlign="left">
> 
> <mx:Script>
>   [Bindable]
>   [Embed (source="../assets/jazz.mp3")]
>       public var soundClass:Class;
> </mx:Script>
> 
> <mx:SoundEffect id="mySound2" source="{soundClass}" duration="20000" />
> 
> <mx:Button label="playMusic with no pan set"  mouseDownEffect="mySound2"/>
> 
> <mx:Button label="pause sound" click="mySound2.pause()" />
> <mx:Button label="resume sound" click="mySound2.resume()" />
> </mx:Application>
> 
> If I play, pause and then resume the pause, the SoundEffect seems to
> do the right thing. If you have another scenario where pausing the
> SoundEffect doesn't work, please file a bug at bugs.adobe.com/flex.
> 
> Joan
>



Reply via email to