RE: [Flashcoders] FLV audio doesn't stop

2010-10-02 Thread Cor
Sent: vrijdag 1 oktober 2010 23:44 To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't stop Thanks Cor and everyone - SoundMixer.stopAll() seemed to work best for me - it's not happening anymore no matter how hard I try to break it. Next time around, I'll use LoaderMax from greensock

Re: RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread allandt bik-elliott (thefieldcomic.com)
Hey jason I think you're falling foul of the way that flvplayback creates new Video objects every time you add a new stream without destroying the previous streams. You also cannot kill your last one if you only have one left which I think causes issues like yours but I think you can use

RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread Cor
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

RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread Cor
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

RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread Randy Tinfow
Found it : I used SoundMixer.stopAll(); That will work unless you have other audio playing in the background, which is often the case for our apps. We don't use the flvplayback control, preferring to write CustomNetStreams. To stop video and audio we use:

RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread Merrill, Jason
Tinfow Sent: Friday, October 01, 2010 5:37 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] FLV audio doesn't stop Found it : I used SoundMixer.stopAll(); That will work unless you have other audio playing in the background, which is often the case for our apps. We don't use

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Henrik Andersson
Off the display list does not mean not playing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
Of Nathan Mynarcik Sent: Wednesday, September 29, 2010 10:43 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop I have encountered this as well with an e-Learning Flash Course I did last year. I read somewhere that unloadAndStop() was suppose to work when unloading

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik Sent: Wednesday, September 29, 2010 10:43 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop I have encountered this as well with an e-Learning Flash Course I did last year. I read somewhere that unloadAndStop() was suppose

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
Off the display list does not mean not playing. Right, yeah, I understand that - sorry, I should have clarified that I am also stopping the video as well. My code does the following when a video is supposed to be removed before a new one is created and played: 1. The Flvplayback component

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
I am also using the FLVPlayback Component, but accessed the NetStream from the component to close it: this.video.getVideoPlayer(0).close(); this.video.getVideoPlayer(0).netStream.close(); I get a null error when I run that: if (_flvPlayback != null) {

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Deepanjan Das
Hello Jason, I am using this to clear the FLVPlayback: I have added the FLVPlayback component through code doing an addChild. Then I have passed the custom NCManagerLimelight Class which overrites the inbuilt NCManager class. The NCManagerLimelight is an opensource code you will get from net.

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Deepanjan Das
Hi Jason, Try to close the stream after stopping the playpack. Cheers Deepanjan Das On Fri, Oct 1, 2010 at 8:14 AM, Deepanjan Das deepanjan@gmail.comwrote: Hello Jason, I am using this to clear the FLVPlayback: I have added the FLVPlayback component through code doing an addChild. Then

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Deepanjan Das Sent: Thursday, September 30, 2010 10:46 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, Try to close the stream after stopping the playpack. Cheers Deepanjan

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Deepanjan Das Sent: Thursday, September 30, 2010 10:46 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, Try to close the stream after stopping the playpack. Cheers

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, Could you set the code that starts the new video to check for a boolean before playing a new video? I am thinking you may already have this. var isPlaying:Boolean = true; and set this when a video actually starts playing? Best, Karl On Sep 30

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
] On Behalf Of Deepanjan Das Sent: Thursday, September 30, 2010 10:46 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, Try to close the stream after stopping the playpack. Cheers Deepanjan Das On Fri, Oct 1, 2010 at 8:14 AM, Deepanjan Das deepanjan

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
Right here, tell it to pause then continue with your list. 1 - 8. 1. The Flvplayback component instance is told to stop. 2. Any listeners are removed from Flvplayback component instance 3. The Flvplayback component instance is removed from container sprite's display list 4. The Flvplayback

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Deepanjan Das
To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, Could you set the code that starts the new video to check for a boolean before playing a new video? I am thinking you may already have this. var isPlaying:Boolean = true; and set this when a video actually

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
: Re: [Flashcoders] FLV audio doesn't stop Json, Your logic seems to be absolutely fine, which suggests that the stream is not getting closed even after deletion. This happens sometimes when the player might be bufferring. So at this time you might have stopped the video, but the steam is open

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
You might want to try to pause the video before stopping, unloading and reloading Geez Karl, I think that might have fixed it... at least, since I added the pause() before the stop() and everything else, I cannot reproduce the bug... Stupid, you would think that calling flvPlayback.stop()

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
-Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, September 30, 2010 11:27 PM To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't stop You might want to try

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
Global Learning -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, September 30, 2010 11:27 PM To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't stop You might

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, September 30, 2010 11:27 PM To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't stop You might want to try to pause the video before stopping, unloading and reloading Geez Karl

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
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,

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
Is this line supposed to start with a _ underscore? On Sep 30, 2010, at 10:47 PM, Karl DeSaulniers wrote: flvPlayback.removeEventListener(MetadataEvent.METADATA_RECEIVED, onMetadataReceived); Karl DeSaulniers Design Drumm http://designdrumm.com

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
Disregard that last email. sry On Sep 30, 2010, at 10:47 PM, Karl DeSaulniers wrote: flvPlayback.removeEventListener(MetadataEvent.METADATA_RECEIVED, onMetadataReceived); Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
[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

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
, 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

Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Deepanjan Das
Hi Jason, How are you removing the video? Are you closing the NetStream and setting it to null for performance, please check. In my case that solved this problem as far as I remember. -- Warm Regards Deepanjan Das W: http://deepanjandas.wordpress.com || Om Manasamarthadata Shri Aniruddhaya Namah

RE: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Merrill, Jason
-boun...@chattyfig.figleaf.com] On Behalf Of Deepanjan Das Sent: Wednesday, September 29, 2010 10:36 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, How are you removing the video? Are you closing the NetStream and setting it to null for performance, please check

Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Nathan Mynarcik
I have encountered this as well with an e-Learning Flash Course I did last year. I read somewhere that unloadAndStop() was suppose to work when unloading the current swf/flv. I think this is a Flash 10 only method. Perhaps this might fix your issue? On Wed, Sep 29, 2010 at 10:02 PM,

Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Deepanjan Das
: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, How are you removing the video? Are you closing the NetStream and setting it to null for performance, please check. In my case that solved this problem as far as I remember. -- Warm Regards Deepanjan Das W: http

Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Karl DeSaulniers
- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Deepanjan Das Sent: Wednesday, September 29, 2010 10:36 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, How are you removing the video? Are you