Found it :
I used 
 SoundMixer.stopAll();  

Regards,
Cor

-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: vrijdag 1 oktober 2010 10:25
To: 'Flash Coders List'
Subject: RE: [Flashcoders] FLV audio doesn't stop

Jason,

If I recall correctly:

SoundChannel.stop();

Or

SoundMixer.stopAll();

Did the trick for me.

Groeten,
Cor van Dooren
www.codobyte.com
------------------------------------------------------------------
 "There are only 10 types of people in the world:
   Those who understand binary and those who don't."

-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: vrijdag 1 oktober 2010 5:57
To: Flash Coders List
Subject: RE: [Flashcoders] FLV audio doesn't stop

>> Try pausing, stopping then closing.

OK I'll give it a shot. 

// Maybe also replace the above line with //_flvPlayback.close(); //Kind of
reaching on this one. :)

Yeah, lol, there is no _flvPlayback.close() method, but there is an
_flvPlayback.closeVideoPlayer(0); method - I'll try that too.  If all else
fails, I'll just make sure the user has to watch some of the video (video is
definitely out of buffer mode) before advancing to the next screen where the
next video is.  Not ideal, but in theory it would work.   I think Deepanjan
is right, it has to do with the buffering in the netstream still taking
place while the videoplayback component is removed.  Because of that, the
audio still clings on.  Is there a way to interrupt or stop/kill the
buffering process before it finishes? The bug 'feels' like it happens during
buffering and the user, instead of waiting for buffering to finish, moves on
to the next video. It doesn't seem to be reproducable when the first video
has already started playing.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning 



-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Thursday, September 30, 2010 11:47 PM
To: Flash Coders List
Subject: Re: [Flashcoders] FLV audio doesn't stop

Try pausing, stopping then closing.

_flvPlayback.pause();
_flvPlayback.stop();
_flvPlayback.getVideoPlayer(0).close(); //close the netstream

// Maybe also replace the above line with //_flvPlayback.close(); //Kind of
reaching on this one. :)

_flvPlayback.removeEventListener(VideoEvent.READY, onVideoReady);
flvPlayback.removeEventListener(MetadataEvent.METADATA_RECEIVED,
onMetadataReceived);
_flvPlayback.removeEventListener(VideoEvent.COMPLETE, onVideoComplete);
_flvPlayback.removeEventListener(MetadataEvent.CUE_POINT, onCuePoint); if
(_flvPlayback.stage) { removeChild(_flvPlayback); } //instead of the above
line, I also tried just removeChild (_flvPlayback); _flvPlayback = null;
>


Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Interne Virusdatabase is verouderd.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.851 / Virusdatabase: 271.1.1/3148 - datum van uitgifte: 09/20/10
19:04:00

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Interne Virusdatabase is verouderd.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.851 / Virusdatabase: 271.1.1/3148 - datum van uitgifte: 09/20/10
19:04:00

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to